ATtiny85 help

Hi everyone! I have been trying to load the ATtiny85 programming language into my arduino environment.

Does anyone have a something that could help. If you have an arduino environment already preloaded with this, that would be great.

Thanks.

Here maybe?

http://code.google.com/p/arduino-tiny/

Hi,

The ATTiny cores are straightforward to install - to help you out, what error are you seeing, and which cores are you using?

Geoff

Here is a fair overview with pictures.

The article references the MIT cores, but I prefer the ones preference referenced on the Google link. One of our members, Coding Badly is responsible for this compilation.

IF you are looking at the Tiny85 and need a more mature support group, consider purchasing a Digispark, they are under $8 and Digistump does bundle into a ZIP the entire Arduino 1.0.4 (soon 1.0.5) programming/tool environment. Their blogs and forums are also pretty good and they have a fair selection of libraries to assist in creating usable programs.

Ray

I downloaded this and followed the instructions. I am uploading the blink program to it, but it gives the following error:

Blink.ino:10:21: error: Arduino.h: No such file or directory
Blink.ino: In function ‘void setup()’:
Blink:15: error: ‘OUTPUT’ was not declared in this scope
Blink:15: error: ‘pinMode’ was not declared in this scope
Blink.ino: In function ‘void loop()’:
Blink:20: error: ‘HIGH’ was not declared in this scope
Blink:20: error: ‘digitalWrite’ was not declared in this scope
Blink:21: error: ‘delay’ was not declared in this scope
Blink:22: error: ‘LOW’ was not declared in this scope

here is the code:

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is in the public domain.
 */
 
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 3;

// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}
Blink.ino:10:21: error: Arduino.h: No such file or directory

tyguy2:
I downloaded this...

Looks like you downloaded an old version.

...and followed the instructions.

Or did not put the core in the correct place.

The link of interest is on the home-page slightly left and above center. It's labeled...
Download the latest version for Arduino 1.0.

Thanks. I forgot to post I got it working. Awesome and thanks.

For the benefit of others, what was wrong and how did you fix it?

Oh. Well, the software I downloaded was not working. After looking around, I found this file (attached).
I downloaded the ISP example to the arduino uno, then downloaded stuff onto the ATtiny85. Works like a charm!

attiny-master.zip (4.31 KB)

Oh, and remember to not use the attiny master folder. Go into it and use the attiny folder {and its contents} only!