Asynchronous polling

Josh Leverette's picture

I have started laying the groundwork for an asynchronous polling architecture for getting new values from the LSM9DS0, but realistically it might be good to switch this over to a full-on asynchronous interrupt system. Right now, I'm attempting to synchronize the timers to the data update cycle of each subsensor in the LSM9DS0, so, for example, it calls a function every 1600th of a second, and that function will then start polling the LSM9DS0 until a new accelerometer sample has been taken, which should be very soon after the polling starts and then it will return to idle again quickly.