Adafruit Bi-Color 8x8 Matrix #419
Replies: 4 comments
-
Posted at 2014-04-05 by mattbrailsford Typical, write a post and find the answer :) Turns out I needed some other methods to be called first to setup the device. The following works:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-07 by @gfwilliams Great! I wonder if this could be a library that used the graphics lib :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-07 by mattbrailsford @gordon it already is, see my other post regarding "trying to assign to an un-named type" :) (I always like to get as close to the original to work first, then make better) Is there a github repo we can submit new libraries to? Matt |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-07 by @gfwilliams Yes, sorry - saw that. I got a billion e-mails over the weekend so I'm just working through in order :) Repo is EspruinoDocs - but there's a tutorial on modules here I think... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-05 by mattbrailsford
Hi Guys,
I've been spending the last couple of hours trying to convert some Adafruit code to work with the Espruino, but am struggling to get it to work. Can anyone offer any advice?
The code from adafruit is as follows (just the methods I'm bothered about):
And I have currently got the following javascript for the Espruino:
The problem is, I just don't get any lights lighting up. Have I converted the code incorrectly? Or am I miss-understanding how you work with I2C on the Espruino?
Matt
Beta Was this translation helpful? Give feedback.
All reactions