Patrick Fitzgerald
Published © GPL3+

Digispark Arduino Sketch

A digispark is like an Arduino packed into a postage stamp. Program this ATtiny85 MCU through the USB port.

AdvancedProtip2 hours1,051

Things used in this project

Hardware components

DigiSpark
DigiSpark
×1

Software apps and online services

Arduino IDE
Arduino IDE
micronucleus bootloader

Story

Read more

Code

dBlink.ino

Arduino
Arduino sketch for Digispark.
Syncopated blinky on PB1
void setup(){ pinMode(1,OUTPUT); }
void loop() { digitalWrite(1,HIGH)  ; delay(500);
			  digitalWrite(1,OUTPUT); delay(200);
        digitalWrite(1,HIGH)  ; delay(200);
			  digitalWrite(1,OUTPUT); delay(200); }

Credits

Patrick Fitzgerald
119 projects • 40 followers

Comments