A minimal terminal for TinyGo devices supporting 256-color ANSI escape codes.
Most of the examples will work with any of the following hardware:
- Adafruit Clue (https://www.adafruit.com/clue)
- Gopher Badge (https://gopherbadge.com/)
- PyBadge (https://www.adafruit.com/product/4200)
- PyPortal (https://www.adafruit.com/product/4116)
- WioTerminal (https://wiki.seeedstudio.com/Wio-Terminal-Getting-Started/)
Displays basic text.
tinygo flash -target pyportal ./examples/basic
Displays ANSI colors.
tinygo flash -target pyportal ./examples/colors
Connects to an http server and displays the results. Runs on PyPortal and WioTerminal only, since it requires a connected WiFi coprocessor.
tinygo flash -target pyportal -ldflags="-X main.ssid=MYSSID -X main.pass=MYPASS" ./examples/httpclient