I have this code for controlling rgb led strip and i want to upload it to attiny85, i get error messages fro it only when i compile for attiny85, compiles without errors for arduino uno, any ideas what's wrong?, library documentation says it supports attiny85 and the code isn't larger then 8kB flash and 512 B ram
Please follow the advice on posting a programming question given in Read this before posting a programming question and post the code here
In particular note the advice to Auto format code in the IDE and to use code tags when posting code here as it prevents some combinations of characters in code being interpreted as HTML commands such as italics, bold or a smiley character, all of which render the code useless
c:/users/-markonjak-/appdata/local/arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino5/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld.exe: region `text' overflowed by 342 bytes
Error compiling for board Digispark (Default - 16.5mhz).
Looks like your sketch is using 342 more bytes of memory than your processor has. It compiles fine for an Arduino UNO. Perhaps the Digispark is too small a processor.
when I compile it with the digispark core, it generates errors. When I compile it with the AttinyCore it compiles fine
Sketch uses 6220 bytes (81%) of program storage space. Maximum is 7616 bytes.
Global variables use 258 bytes (50%) of dynamic memory, leaving 254 bytes for local variables. Maximum is 512 bytes.