No więc wgrałem program ten migającej diody:
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(4, OUTPUT);
}
void loop() {
digitalWrite(4, HIGH); // set the LED on
delay(10); // wait for a second
digitalWrite(4, LOW); // set the LED off
delay(1000); // wait for a second
}
Tu jest schemat połączenia płytki arduino z ATtiny13
http://fritzing.org/media/fritzing-repo/projects/a/attiny85-programmer-with-arduino-uno-on-breadboard/images/ArduinoISP_attiny85_Steckplatine.png
Najpierw wgrałem do Ardunio UNO program ArduinoISP a następnie po wgraniu migającej diody ustawilem ATtiny13 i włączyłem Upload using programmer.
I dioda cały czas świeci, to ma znaczenie że posiadam ATtiny13-20pu ??