Sotol blink

This is a test program for the Sotol IoT Board. Once it is running on your board, each switch LED should toggle on and off when you click on a switch.

This also doubles as a clicky fidget toy.

Source code

Demo

Check out the interactive demo below by clicking each switch.

Unless you have javascript disabled. In which case, you'll need to use your imagination


Board compatibility

Since this project is a test program, all QT Py boards are compatible!

Board Compatible?
Adafruit QT Py ESP32-S3 ✅
Adafruit QT Py ESP32-S2 ✅
Adafruit QT Py ESP32-C3 ✅
Adafruit QT Py RP2040 ✅
Adafruit QT Py SAMD21 ✅

Arduino setup

The easiest way to upload this program to your board is with the Arduino IDE. The Adafruit guide for your specific board is the best way to get started with your board:

Adafruit Arduino IDE guides
QT Py ESP32-S3
QT Py ESP32-S2
QT Py ESP32-C3
QT Py RP2040
QT Py SAMD21

Instructions

1. Once you have followed the Adafruit guide and connected your board, open sotol-blink.ino in the Arduino IDE

2. Get board-specific pin definitions from pins.ino

3. Once you have the pins you need, replace this comment in sotol-blink.ino with your specific pin definitions

    /*
    **************************************
    * Hi! Replace me with board-specific *
    * pins from `pins.ino`               *
    **************************************
    */

3. Verify your sotol-blink.ino program

3. Upload sotol-blink.ino to your board