pinToggle library - comments please

Thanks for looking at this

Aren't you generating pulses?

A pulse consists of two state changes, ie two toggles. The main library function causes the pin state to change state regularly, so the pin state is toggled, but I am not going to get bogged down in the semantics.

Who knew that English would be so important when creating a C++ class :slight_smile: