Author Topic: mc-Things Video Suggestions??  (Read 640 times)

Nick_W

  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: mc-Things Video Suggestions??
« on: October 21, 2016, 11:13:27 am »
I'll move over to github, but the while loop is exactly what I did (and it works). Testing for <> Nothing doesn't work (not sure why), so I'm testing for intType.Count > 0 which seems to do the trick.

Sleep mode just switches between sleep and wake ODR and oversampling modes, it doesn't change the registers. Seems to be working switching between 50Hz Low Power (sleep) and 400Hz Low Power Wake.

I'll post when I have all (most) of the bugs out of my code. I still get a random reboot when the Accelerator is in Standby and you try to read the int_source register (debug says I2C bus locked), probably a timing thing.