There is very limited support at the moment for this board.
Note: the AVR backend of LLVM is still experimental so you may encounter bugs.
|Interface||Hardware Supported||TinyGo Support|
|SPI||Requires software||Not yet|
|I2C||Requires software||Not yet|
Machine Package Docs
Programs are loaded onto the Digispark using the
micronucleus command line utility program. You must install micronucleus before you will be able to flash the Digispark board with your TinyGo code.
- Build and flash your TinyGo program using
tinygo flash -target=digispark
- Plug your Digispark into your computer’s USB port after you start the flashing process. This is because the bootloader is only active for 5 seconds after power up. Micronucleus will show a message when to insert the device.