• Thank you @Gordon!

    Hmmm, maybe this way is over my head then...

    I have an Espruino, so I might try to go that way first but the idea was to build this into an iTead S20 smartswitch so I think that the other options (555 timer or an array with 40khz pulses) would better suit me.

    Any pointers on how to generate such an array or do you have a link to the page where you found the above image @Gordon?

    Much appreciated!

About