-
-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Hello everyone,
I am trying to use this library together with the Arduino MKR NB 1500 board.
It works if I call the begin() method once, and the end() once, or never since my project is supposed to run indefinitely.
However, after some time I do get a timer fault on my board, begin() and end() manipulate the timer, thus I thought, maybe to call the begin() and end() functions before and after every interaction with the sensor, so the timer can be reset every time.
However, I can do this only once. After the second time I call begin() (which works) and interact with the sensor (which works) and then call end() the function just hangs. I guess some of the bit.SYNCBUSY while loops, but I couldn't determine which one, yet.
So my question is, is this the supposed behavior? I. e. is the begin() (and end()) function only to be called once, or is there something wrong here?
Thanks.