Tested with Arduino 1.8.0 on Ubuntu 17.10.
(AVR is a family of microcontrollers. ISP means In System Programmer)
Open Arduino IDE -> File -> Examples -> 11.ArduinoISP ->ArduinoISP and upload to Arduino
1.1 Open Arduino IDE -> File -> Preferences go to Additional Boards Manager URLs and copy this:
https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json Ok.
1.2 Open Arduino IDE -> Tools -> Board -> Boards manager. Find MicroCore and click Install.
LED and resistor is needed only for testing to see does uploaded example code works or not.
Go to Arduino IDE -> Tools and select:
(You only need to do this once per chip)
Go to Arduino IDE -> Tools -> Burn Bootloader
You might see an error, but ignore it.
Copy Blink sketch:
void setup() {  // initialize pin 4 (ATtiny leg 3) as an output.  pinMode(4, OUTPUT); } void loop() {  digitalWrite(4, HIGH); // turn the LED on (HIGH is the voltage level)  delay(1000); // wait for a second  digitalWrite(4, LOW); // turn the LED off by making the voltage LOW  delay(1000); // wait for a second } Go to: Arduino IDE -> Sketch -> Upload Using Programmer
If all works, the LED should blink now:
Tested with Arduino 1.8.0 on Ubuntu 17.10.
(AVR is a family of microcontrollers. ISP means In System Programmer)
Open Arduino IDE -> File -> Examples -> 11.ArduinoISP ->ArduinoISP and upload to Arduino
1.1 Open Arduino IDE -> File -> Preferences go to Additional Boards Manager URLs and copy this:
https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json
Ok.
1.2 Open Arduino IDE -> Tools -> Board -> Boards manager. Find MicroCore and click Install.
LED and resistor is needed only for testing to see does uploaded example code works or not.
Go to Arduino IDE -> Tools and select:
(You only need to do this once per chip)
Go to Arduino IDE -> Tools -> Burn Bootloader
You might see an error, but ignore it.
Copy Blink sketch:
void setup() {
 // initialize pin 4 (ATtiny leg 3) as an output.
 pinMode(4, OUTPUT);
}
void loop() {
 digitalWrite(4, HIGH);   // turn the LED on (HIGH is the voltage level)
 delay(1000);             // wait for a second
 digitalWrite(4, LOW);    // turn the LED off by making the voltage LOW
 delay(1000);             // wait for a second
} 
Go to: Arduino IDE -> Sketch -> Upload Using Programmer
If all works, the LED should blink now: