Adafruit LED backpacks

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Adafruit LED backpacks

Post by deshipu » Thu Sep 15, 2016 8:46 pm

I got the edge connector from kitronik some time ago, but didn't really play with the more advanced features. Until today, I decided to port my HT16K33 library for the Adafruit LED backpacks to the Micro:bit. Porting was straightforward enough -- remove cost(), replace i2c.writeto() and i2c.readfrom() with i2c.write() and i2c.read(), etc. The code is at https://bitbucket.org/thesheep/microbit ... ht16k33.py and the result looks something like this:
Attachments
IMG_20160915_220934.jpg
IMG_20160915_220934.jpg (187.98 KiB) Viewed 3739 times

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Adafruit LED backpacks

Post by deshipu » Wed Sep 21, 2016 1:46 pm

And I forgot to make the repository public. For everybody who tried to click that link, it should be working now. Sorry about that.

Post Reply