I want to run the LED matrix and do some scrolling message displays.
I have a 5V 2Amp power supply that i can hook up to the 5V trinket
Can i perform the same demo as shown on the product page using the trinket instead of the UNO as shown,
Thanks
Trinket + SMALL 1.2" 8X8 ULTRA BRIGHT SQUARE BLUE LED MATRIX
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- waleedk
- Posts: 4
- Joined: Mon Jul 22, 2013 3:10 pm
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Trinket + SMALL 1.2" 8X8 ULTRA BRIGHT SQUARE BLUE LED MA
Good question. Technically, it should work.
But, I just tried compiling the demo for Trinket, and I'm getting compile errors. Don't really understand what the problem is.
But, I just tried compiling the demo for Trinket, and I'm getting compile errors. Don't really understand what the problem is.
- ishback
- Posts: 33
- Joined: Tue Mar 04, 2014 9:50 pm
Re: Trinket + SMALL 1.2" 8X8 ULTRA BRIGHT SQUARE BLUE LED MA
I'm also interested in running the 8x8 Matrix with the Trinket, using the LEDBackpack and Adafruit_GFX libraries. I got a bunch of errors when compiling, all similar to this:
'/Applications/Arduino.app/Contents/Resources/Java/libraries/Wire/utility/twi.c:390: error: 'TWEN' undeclared (first use in this function)'
probably same as you guys. Does anyone know what could be the problem?
Thanks
'/Applications/Arduino.app/Contents/Resources/Java/libraries/Wire/utility/twi.c:390: error: 'TWEN' undeclared (first use in this function)'
probably same as you guys. Does anyone know what could be the problem?
Thanks
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Trinket + SMALL 1.2" 8X8 ULTRA BRIGHT SQUARE BLUE LED MA
Are you using the TinyWire library?
- pburgess
- Posts: 4161
- Joined: Sun Oct 26, 2008 2:29 am
Re: Trinket + SMALL 1.2" 8X8 ULTRA BRIGHT SQUARE BLUE LED MA
The Backpack & GFX libraries don't work on the Trinket...there simply isn't enough program space.
If you have a look at the Space Invader pendant tutorial, you can see how this does 'raw' writes to the display (and using the TinyWireM library)...it's pretty low-level stuff because of the Trinket's size constraints.
If you have a look at the Space Invader pendant tutorial, you can see how this does 'raw' writes to the display (and using the TinyWireM library)...it's pretty low-level stuff because of the Trinket's size constraints.
- ishback
- Posts: 33
- Joined: Tue Mar 04, 2014 9:50 pm
Re: Trinket + SMALL 1.2" 8X8 ULTRA BRIGHT SQUARE BLUE LED MA
I just tried the example on AdafruitLEDBackpack named HT16K33 and the Backpack and GFX libraries worked just well - it's a tiny sketch. I tried with my own sketch and I had to reduce the file and modify the libraries to adapt them to what I just need, to keep the sketch under the 5,310 max for the Trinket, and it worked too.
I used a few of these tricks to reduce my sketch: http://www.instructables.com/id/Make-an ... libraries/
I used a few of these tricks to reduce my sketch: http://www.instructables.com/id/Make-an ... libraries/
Please be positive and constructive with your questions and comments.