Go Down

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

marco_c

#30
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
Quote
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 http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com

Antennas

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.


Andrew

Antennas

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.

Andrew

Go Up