Dec-22-2019, 10:31 PM
This article shows you how to create an interrupt on the pi when a button is pushed.
This is the way to go with your circuit as polling won't be needed.
An event (interrupt) will be created when button is pushed, and the code associated with that interrupt won't execute until that heppens/
article is here: https://www.raspberrypi.org/forums/viewt...p?t=146369
This is the way to go with your circuit as polling won't be needed.
An event (interrupt) will be created when button is pushed, and the code associated with that interrupt won't execute until that heppens/
article is here: https://www.raspberrypi.org/forums/viewt...p?t=146369