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
https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip
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}