How to program piezo buzzer without the tone() library?

jboyton:
Maybe it's time to learn: Gammon Forum : Electronics : Microprocessors : Timers and counters

This is the best (simplest) example on this I've seen so far, thanks heaps!

You should thank Nick.

Thanks Nick! :slight_smile: