Either way does one thing, It completes a circut on a NC (normally closed switch) and opens it. I prefer only electronically because it would take a adjustable mount to do the microswitch correctly.