Arduino Code for my project on how to automate Halloween props with magnets