An attempt to get Arduino's simple standard library in Zig. This will make it easier for first time users to make Arduino projects with Zig.
At the time of writing it's all done for Arduino Uno. Ideally, all of that would be abstracted out with the abstraction layer in microzig.
zig build
zig build upload -Dport=/dev/ttyACM0
You may need to be root or change permissions to access the device. Note that /dev/ttyACM0
is the default.