Skip to content

tinygo-org/tinygo-xiao-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyGo + XIAO

TinyGo demos and examples on Seeedstudio XIAO-ESP32C3 and XIAO-ESP32S3.

blinky

blinky

Blinks an LED. The "Hello, World" of things.

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -size short ./blinky

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -size short ./blinky

button

button

Push a button, and the LED lights up.

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -size short ./button

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -size short ./button

echo

Type into the console, and the Xiao will echo back what you typed.

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -size short -monitor ./echo

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -size short -monitor ./echo

display

display

Shows the xiao controlling an OLED display with an I2C interface

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -size short ./display

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -size short ./display

life

life

Shows the xiao controlling an OLED display with an I2C interface playing Conway's Game of Life

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -size short ./life

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -size short ./life

scanner

scanner

Scans for WiFi access points and displays them on the OLED display.

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -size short ./scanner

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -size short ./scanner

webserver

webserver

web page

Runs a small webserver on the Xiao board. Displays the server status on the OLED display.

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./webserver

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./webserver

mqtt

mqtt

Connects using the MQTT machine-to-machine messaging protocol from the Xiao board. Displays the status on the OLED display.

xiao-esp32c3

tinygo flash -target xiao-esp32c3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./mqtt

xiao-esp32s3

tinygo flash -target xiao-esp32s3 -ldflags="-X main.ssid=YourSSID -X main.password=YourPassword" -monitor ./mqtt

About

TinyGo demos and examples on Seeedstudio XIAO-ESP32C3 and XIAO-ESP32S3 boards

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors