Jump to content
I2Cdevlib Forums

rreay

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by rreay

  1. And I'll follow up immediately to say. I did some some printf() debuging in the "other program behavior stuff" (run) loop and found that after some time the fifo overflowed and then the run loop stopped being entered. I'm not sure which condition was causing to be skipped, I'm assuming it was the length condition. After some additional time it would stop. Again I don't know where it stopped and why. There were no loops in loop() that didn't output something and the only path through loop() that didn't produce output was the "if (!dmpReady) return;" line at the top. Perhaps in the library there was a stuck loop. I added a loop " while (fifoCount) {" around the main body of loop() and while I haven't caught it having to process more than one packet I also haven't seen it stop transmitting. Is this magical thinking on my part or a real fix? We'll find out in a couple hours of running I guess.
  2. I've been playing with the 4.1 library. Thank you very much by the way. After a varying amount of time it stops producing data packets. Some times it's as short as 10 seconds, sometimes it's 10s of minutes. The 2.0 library doesn't hang like this. Am I the only one, or have others seen this? Any thoughts on what this might be?
×
×
  • Create New...