What's the coding to use Reed Switch (59025-1-S-02-A - Reed Switch, 59025 Series, Cylindrical, 18 mm) in Arduino coding? Please tell the coding and what does it work?
Thank you!
What's the coding to use Reed Switch (59025-1-S-02-A - Reed Switch, 59025 Series, Cylindrical, 18 mm) in Arduino coding? Please tell the coding and what does it work?
Thank you!
It's just a switch. You use the same code as any other switch e.g. the Button example in the IDE.
Steve
It is the same as door sensor. See door sensor tutorial
idkarduinoo:
what does it work?
What does that mean?
IoT_hobbyist:
It is the same as door sensor. See door sensor tutorial
Thank you so much!! this works
You're welcome!
Stay healthy!