You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theend()
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()
andend()
manipulate the timer, thus I thought, maybe to call thebegin()
andend()
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 callend()
the function just hangs. I guess some of thebit.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()
(andend()
) function only to be called once, or is there something wrong here?Thanks.
The text was updated successfully, but these errors were encountered: