There are many ways to generate a square wave, and given the availability of phase-locked-loop-based clock generator chips, it’s easy enough to do so from a microcontroller.

Source: [Hackaday](https://hackaday.com/2026/12/01/a-frequency-generator-for-not-a-lot/)

Sponsored