/wiointerface

wioterminal interface for tinygo development

Primary LanguageGoMIT LicenseMIT

wiointerface

Wiointerface is library for developing and tinygo software for wio terminal. This is private "under development release" for making applications using this library. There will be interface compatility breaks at future

Idea of this library is to allow compile microcontroller software on tinygo and test/demo version for pc

On PC libsdl interface lsA,S and D keys are 3 keys on top of wio terminal. Arrow keys match to arrow pad on wio and return key is "press joystic down" button

background pic used in sim

Demo programs

Demo programs under cmd directory are compiled with command

tinygo build -target=wioterminal -o out.uf2

I personally use script to

mkdir -p mountti
mount /dev/sda ./mountti/
tinygo build -target=wioterminal -o ulos.uf2
cp ulos.uf2 ./mountti
umount ./mountti

Building demo on PC is just

go build

Test programs

  • ambient just shows how to use BME280 on wio terminal (left side I2C connector)
  • chip8 is just chip8 emulator
  • marijodemo just drawing some scrolling sprites