The title made it sound like it's something amazing and it is (for me) but will probably bore most of you. After desperately trying I have finally managed to get toggle switches to work with Jim's Multi program. Break through for me!
Attachment 8231
Printable View
The title made it sound like it's something amazing and it is (for me) but will probably bore most of you. After desperately trying I have finally managed to get toggle switches to work with Jim's Multi program. Break through for me!
Attachment 8231
Fantastic! For stability, I would recommend a pull-down resistor (10K ohm) from gnd to the input pin; this will prevent interference from causing the the pin to accidentally alternate between "HIGH" or "LOW" while the switch is in the open state. Furthermore, I would recommend a protection resistor from the input to the switch leg. The protection resistor should be equal or less than the pull-down resistor.
Congratulation bro =)! I know how you are feeling. Keep going and don't stop!
Why not to use built-in pull-up? Just use HIGH state as OFF and vise-versa. And no external resistor required in that case.
Ah! I didn't know it could be controlled through coding. Thank you for the valuable tip!