sfrwmaker / xtmas_neopixel

Led strip animation on arduino
https://www.hackster.io/sfrwmaker/5-minute-christmas-neopixel-led-strip-0abf33
GNU General Public License v3.0
28 stars 6 forks source link

Does not fit on a Trinket #3

Open Hexalyse opened 6 years ago

Hexalyse commented 6 years ago

I see a few lines of codes for Trinket 5V on your sketch, but the compiled code cannot run on a Trinket 8Mhz. When I try to compile it I get this error :

ChristmasStrip.ino.elf section `.text' will not fit in region `text'
region `text' overflowed by 12334 bytes

Maybe you were referencing the Trinket Pro with 28K of flash memory (instead of 8K on the Trinket) ?

sfrwmaker commented 6 years ago

Hello!

This code is for atmega328p-pu microcontroller, Arduino UNO or Arduino nano. See here: https://www.instructables.com/id/5-Minutes-Christmas-Neopixel-Led-Strip/

Hexalyse commented 6 years ago

Why the code for dealing with Trinkets 16Mhz, then ?

But I'm pretty sure it could run on a Trinket Pro, right ? I ordered one, we'll see.