With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Thanks Simon. Worked on the first try. I've added the sketch to my personal library of stuff that works that I piece together sketches from.
Also thought I'd have to use an RC circuit, but i don't as the switch I have (looks identical to yours from AliExpress) works perfectly with the code you have written
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.