Requires a Linux or WSL system with tinygo
installed (see Getting Started).
make
For go mod tidy
, run:
make go-mod-tidy
Makefile invocation for flashing:
PORT=/dev/ttyACM0 make flash-countdown-lcd-1602-4bits
or,
make PORT=/dev/ttyACM0 flash-countdown-lcd-1602-4bits
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
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
.