Adafruit 8x8 LED Backpacks #870
Replies: 19 comments
-
Posted at 2015-11-07 by @gfwilliams Hi, I know it says MAX7219 in the description, but it looks from the picture on the Adafruit page like it's actually something else... I think HT16K33. Adafruit's driver looks quite simple though, so you should be able to get up and running quite quick...
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-07 by chalkers Thank you so much Gordon! I am so happy to see something come alive! I used this:
Is that what you were expecting? Also, I'm giving a talk on the state of JavaScript and IoT at Node.js Interactive and at FluentConf next year and I'm showcasing the Pico along with other things! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-07 by @gfwilliams That's great! It's almost what I was hoping for, but it looks a bit like somehow it's wrapped around so one of the lines is in the wrong place... I was expecting just a diagonal line. Maybe try some other things with graphics:
and see if it's doing the right thing. It might be we have to fiddle with it a bit to get everything lined up. Maybe try one of these commands in flip instead and see if it fixes it:
When that's done we should turn it into a module :) It'll be great if you included the Pico in your talks too - thanks! Let me know if i can help out at all. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-07 by chalkers The horse shoe looking one was
Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-07 by chalkers It seems 0,0 starts at 0,1 or 1,0. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-07 by chalkers PaintYourDragon from adafruit said this on Twitter:
https://twitter.com/paintyourdragon/status/663086330834907136 I don't understand what that means :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-08 by HaraldK ROR is ROtate Right. ROL is ROtate Left. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-08 by chalkers So do I have to do a bit wise operation on the buffer? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-09 by @gfwilliams Thanks for the pics - that really clears it up! It's a bit hacky of them to fiddle the wiring like that! So yes, looks like you have to do a bitwise operation - but it's not too painful. Something like:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-10 by chalkers Thanks for getting me this far!
This rotated the pixels correctly except for one last issue... I can draw a line, I can set a pixel anywhere in the grid. If the left most
If I comment out the eyes the left most pixel will show:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-10 by chalkers I created a git repo with tests and this is the function we got to get it working:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-10 by chalkers @gordon How do I go about contributing modules to the Espruino project? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-10 by @gfwilliams Sorry, I made a really stupid typo I'm afraid...
should be:
There's a bit of info on writing and submitting modules here: http://www.espruino.com/Writing+Modules For displays, we generally just just create an |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-25 by Kylir Guys I would like to thank you for this post! Now everything makes sense! I started to fiddle with a small 8x8 LED matrix from Adafruit and I wasn't able to understand why the first line was "broken". @chalkers did you manage to write a module for the 8x8? I have the same goal. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-25 by chalkers Hey Kylir I created an NPM module...you can check it out here: Feel free to contribute additional functionality via GitHub :) But I have the basics of drawing implemented :) Regards |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-25 by @gfwilliams @chalkers thanks! You know you can use Espruino's built-in graphics library, rather than using your own?
It's got rotation, fonts, lines, etc etc. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-25 by chalkers The module uses a similar API to what the arduino library had for the backpack. It uses the graphics API in the module :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-06-07 by pedesen This is pretty awesome, guys! I recently bought the 16x8 backpack and I'd be happy to extend the code and test it with that backpack (if I find the time). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-06-16 by pedesen I created a pull request for it \o/Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-07 by chalkers
I purchased this Small 1.2" 8x8 Ultra Bright Square White LED Matrix + Backpack.
I got it working with an Arduino to make sure everything is wired up correctly and it does work.
https://vine.co/v/eLx5pq7zAhK
I believe it uses the MAX7219 driver but can't get it to work. Adafruit uses I2C and the Espruino library uses SPI.
Is there any raw I2C code I can use to test it out. I've wired up the - + to GND and 5v, and C to B6 and D to B7.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions