When using event with edge-mode GPIO.BOTH it is required to get the reason for the event. Polling with GPIO.input(channel) inside the callback does unfortunately not work when the switch at the GPIO-Port is bouncing. I would be very grateful if you could forward the logic level of the event from kernel to the callbackfunction.
When using event with edge-mode GPIO.BOTH it is required to get the reason for the event. Polling with GPIO.input(channel) does unfortunately not work when the switch at the GPIO-Port is bouncing. I would be very grateful if you could forward the logic level of the event from kernel to the callbackfunction.