Digispark Projects
Some demo projects using ATTINY85 Digispark interfaced with a 12 Bits RGB LED Ring WS2812
References
Sourcecode
: Last version of this guide, here
Digispark
: Digistump board with ATTINY85 that runs the “micronucleus tiny85”
PlatformIO
: is an open source ecosystem for IoT development
Current demos:
- Blink LED
- Neopixel demo
- EEPROM color setting
- Button handler (click, long click, double click)
- Touchbutton demo
- Multi dice with touch button (master)
Compiling and installing
First, please install PlatformIO open source ecosystem for IoT development compatible with Arduino code and its command line tools (Windows, MacOs and Linux). Also, you may need to install git in your system.
Note: with platformIO
you don’t need the Arduino IDE and install libraries, this will do it for you.
Select project tag
First clone the project
git clone https://github.com/hpsaturn/digispark.git && cd digispark
List projects:
git tag -n9
Select tag, compiling and installing:
git checkout multi_dice && pio run --target upload
Note: you need connect your digispark after each compiling for upload the new firmware or reset it. More info here