An open API service indexing awesome lists of open source software.

https://github.com/sago35/tinygo-examples

TinyGo examples
https://github.com/sago35/tinygo-examples

embeded tinygo wioterminal

Last synced: 11 months ago
JSON representation

TinyGo examples

Awesome Lists containing this project

README

          

[![CircleCI](https://circleci.com/gh/sago35/tinygo-examples/tree/main.svg?style=svg)](https://circleci.com/gh/sago35/tinygo-examples/tree/main)

# TinyGo examples

## wioterminal goroutines

TinyGo example of wioterminal.
https://github.com/sago35/tinygo-examples/tree/main/wioterminal/goroutines

[![](https://img.youtube.com/vi/-dJ-o2cH_Fk/0.jpg)](https://www.youtube.com/watch?v=-dJ-o2cH_Fk)

## wioterminal sample

TinyGo example of wioterminal.
https://github.com/sago35/tinygo-examples/tree/main/wioterminal/sample

[![](https://img.youtube.com/vi/9IpI9rUMXOs/0.jpg)](https://www.youtube.com/watch?v=9IpI9rUMXOs)

## wioterminal USB HID Keyboard

Using tinygo-keyboard, wioterminal becomes a USB HID Keyboard.
Keymap settings can be changed from a web browser using Vial.

* [wiokey](https://github.com/sago35/tinygo-keyboard) example can also be run on wioterminal alone
* https://vial.rocks/

![](./img/wiokey-0.1.0.jpg)

## wioterminal other examples

There are many examples below.

* [./wioterminal/](./wioterminal/)
* [./wioterminal/buttons/](./wioterminal/buttons/)
* [./wioterminal/buzzer/](./wioterminal/buzzer/)
* [./wioterminal/goroutines/](./wioterminal/goroutines/)
* [./wioterminal/gpio/](./wioterminal/gpio/)
* [./wioterminal/ir/](./wioterminal/ir/)
* [./wioterminal/light_sensor/](./wioterminal/light_sensor/)
* [./wioterminal/lis3dh/](./wioterminal/lis3dh/)
* [./wioterminal/microphone/](./wioterminal/microphone/)
* [./wioterminal/mqtt/](./wioterminal/mqtt/)
* [./wioterminal/qspi_flash/](./wioterminal/qspi_flash/)
* [./wioterminal/sample/](./wioterminal/sample/)
* [./wioterminal/usbcdc/](./wioterminal/usbcdc/)
* [./wioterminal/webclient/](./wioterminal/webclient/)

## xiao-ble examples

TinyGo example of XIAO BLE.
This is a Demo using Bluetooth.

* [./xiao-ble/](./xiao-ble/)

[![](https://img.youtube.com/vi/HWBxuMbNUTI/0.jpg)](https://www.youtube.com/watch?v=HWBxuMbNUTI)

## wioterminal initialize

`initialize.Wifi(ssid, password)` initializes RTL8720DN and configures WiFi.

* [./wioterminal/initialize/](./wioterminal/initialize/)

## pinintterrupt

Example of combining pin interrupts and goroutine in TinyGo.
https://github.com/sago35/tinygo-examples/tree/main/pininterrupt

[![](https://img.youtube.com/vi/A-EA5iqDp7k/0.jpg)](https://www.youtube.com/watch?v=A-EA5iqDp7k)

## DeviceID / Serial Number

This is an example of reading the DeviceID.
In other words, it is an example of reading data from a specific address of a microcontroller.

* [./deviceid/](./deviceid/)

The following microcontrollers are supported.

* atsamd51
* atsamd21
* nrf52840
* stm32f405

## LICENSE

MIT