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
- Host: GitHub
- URL: https://github.com/sago35/tinygo-examples
- Owner: sago35
- License: mit
- Created: 2020-05-17T01:33:41.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-01T02:42:39.000Z (about 1 year ago)
- Last Synced: 2025-03-15T17:04:20.630Z (11 months ago)
- Topics: embeded, tinygo, wioterminal
- Language: Go
- Homepage:
- Size: 2.72 MB
- Stars: 33
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](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://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://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/

## 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://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://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