You need to remove the network code.
Practice reading a button.
https://docs.arduino.cc/built-in-examples/digital/Debounce/
Are you really going to hook a lift to an intermittent network?
You need to remove the network code.
Practice reading a button.
https://docs.arduino.cc/built-in-examples/digital/Debounce/
Are you really going to hook a lift to an intermittent network?