Go Down

Topic: For loops?? (Read 3 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 hardware & library 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
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview