Pytrack I2C Error when polling button_pressed()
-
Hi,
Running a script that effectively is in a polling loop waiting for a button press to start a logging application. The loop reads the button on the
Pytrackboard constantly. Within the loop the RTC is read once every minute.After one or two hours an
I2C Bus Erroroccurs whenbutton_pressed()is called. What could be the cause of this?By the way: Is the
button_pressed()the result of a debounced input?REMARK
I need to rewire the switch using a switch directly on the
GPIOand not via an I2C interface. Using I2C Is is not be very power efficient.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login