TinyGo demos and examples on Seeedstudio XIAO-ESP32C3 and XIAO-ESP32S3.
Blinks an LED. The "Hello, World" of things.
tinygo flash -target xiao-esp32c3 -size short ./blinky
tinygo flash -target xiao-esp32s3 -size short ./blinky
Push a button, and the LED lights up.
tinygo flash -target xiao-esp32c3 -size short ./button
tinygo flash -target xiao-esp32s3 -size short ./button
Type into the console, and the Xiao will echo back what you typed.
tinygo flash -target xiao-esp32c3 -size short -monitor ./echo
tinygo flash -target xiao-esp32s3 -size short -monitor ./echo
Shows the xiao controlling an OLED display with an I2C interface
tinygo flash -target xiao-esp32c3 -size short ./display
tinygo flash -target xiao-esp32s3 -size short ./display
Shows the xiao controlling an OLED display with an I2C interface playing Conway's Game of Life
tinygo flash -target xiao-esp32c3 -size short ./life
tinygo flash -target xiao-esp32s3 -size short ./life
Scans for WiFi access points and displays them on the OLED display.
tinygo flash -target xiao-esp32c3 -size short ./scanner
tinygo flash -target xiao-esp32s3 -size short ./scanner
Runs a small webserver on the Xiao board. Displays the server status on the OLED display.
tinygo flash -target xiao-esp32c3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./webserver
tinygo flash -target xiao-esp32s3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./webserver
Connects using the MQTT machine-to-machine messaging protocol from the Xiao board. Displays the status on the OLED display.
tinygo flash -target xiao-esp32c3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./mqtt
tinygo flash -target xiao-esp32s3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./mqtt







