I am looking for a simple circuit setup for reading external(not PiFace on board buttons) push button event.
I have PiFace and push button, I want to setup a circuit and read button push event using Python 3.
any help will be much appreciated.
I am looking for a simple circuit setup for reading external(not PiFace on board buttons) push button event.
I have PiFace and push button, I want to setup a circuit and read button push event using Python 3.
any help will be much appreciated.
I am looking for polled based event, basically I am moving object using stepper motor until it reaches the end of rail, so how software is going to know when to stop further rotation once object reach the end? so I come up with an idea of placing a push button at the end of rail. as soon as object reach end of rail it will hit the push button and trigger "push" event and software will know that this is a time to stop.
this is my approach but if you know any batter approach then please let me know.