This repo demonstrates how to work with an Arduino's PWM outputs in a clean programmer-friendly way. It packages all the low-level interaction with timer clocks that underly PWM functionality, ...
The BLE/HID_Keyboard example from the openwch/ch592 EVT, in its own repo, with a Makefile and a shell.nix added so it's easier to build without needing MounRiver Studio. The shell.nix uses the nix ...