Arduino MEGA + two Limit Switch


#1

Hi Guys,

I would like to build a prject with arduino MEGA and two Limit Switch.

I checked the component requests stie and I found the Limit Switch contributed by DVRJ but I did not find it in the Designed/Components list.

Could you give me a circuit plan and a code with this setup? (arduino MEGA + two Limit Switch)

Thanks,


#2

I’m not sure if the limit switches are the same as micro switches, but if they are, this circuit is the one you seek:

https://www.circuito.io/app?components=512,11061,305155,305155