Go Down

Topic: For loops?? (Read 9464 times) previous topic - next topic


Dec 03, 2012, 10:29 am Last Edit: Dec 13, 2012, 08:01 am by marco_c Reason: 1
You are changing the 'Board' to be the 85, right? You cannot just load Uno or other code into the 85 without selecting the right libraries.

In principle there is nothing in the code that assumes a specific processor and no direct to hardware code or oher tricks are used. What can change is the speed of the processor (MHz) and how the libraries are constructed for the new device.

When I compile my version for the Uno I get
Binary sketch size: 1,436 bytes (of a 32,256 byte maximum)

If I select the 85 my IDE will not even comple the code, and I see from the datasheet that it only has 512bytes of SRAM, so the code may not even fit if it could get it to compile.
Arduino Libraries https://github.com/MajicDesigns?tab=Repositories
Parola for Arduino https://github.com/MajicDesigns/Parola
Arduino++ blog https://arduinoplusplus.wordpress.com


Hmmm I wonder what I have done as it loads and runs fine on my ATtiny85.

Still trying to dissect that code and learn what each line and command does.



My 85 says I have 8K of space. Are there different models? Also can you guess why it is making the LED's behave inversely? They blink but stay on instead of stay off.


Go Up