How to download and upload digistump Attiny85

This page is licensed under the following license : CC Attribution-Noncommercial-Share Alike 3.0 Unported

This page is based on http://digistump.com/wiki/digispark/tutorials/connecting

some images are from Digispark's Wiki

4. Tools - Board - Board Manager - install "Digistump"

5. Tool - Board - Digispark (Default - 16.5mhz)

6. Sample Code

void setup() {                
  // initialize the digital pin as an output.
  pinMode(0, OUTPUT); //LED on Model B
  pinMode(1, OUTPUT); //LED on Model A   
}

void loop() {
  digitalWrite(0, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(1, HIGH);
  delay(1000);               // wait for a second
  digitalWrite(0, LOW);    // turn the LED off by making the voltage LOW
  digitalWrite(1, LOW); 
  delay(1000);               // wait for a second
}

7. Hit the Upload Button

8. Plug USB into the board