Skip to content

sorf/tinygo-arduino

Repository files navigation

TinyGo Arduino Projects

Building

Requires a Linux or WSL system with tinygo installed (see Getting Started).

make

For go mod tidy, run:

make go-mod-tidy

Flashing

Makefile invocation for flashing:

Linux

PORT=/dev/ttyACM0 make flash-countdown-lcd-1602-4bits

or,

make PORT=/dev/ttyACM0 flash-countdown-lcd-1602-4bits

Windows

Install make.

    winget install GnuWin32.Make

Add C:\Program Files (x86)\GnuWin32\bin to PATH.

Then, to flash:

make PORT=COM7 flash-countdown-lcd-1602-4bits

Simulations

Project Simulation
countdown-lcd-1602-4bits wokwi.com
countdown-lcd-1602-8bits wokwi.com
countdown-lcd-1602-i2c wokwi.com
7-segment wokwi.com
7-segment-lcd-1602-i2c wokwi.com

To flash on wokwi.com: F1 then select Upload Firmware and Start Simulation.

About

TinyGo Arduino Projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published