Hi everyone,
I have 2 sensors connected to my arduino one is the invensense mpu6050 and the other is a force sensor. I am using the i2cdev library by jeff rowberg for the mpu6050. Now I am sequentially reading the values of mpu and those of the force sensor. Whenever I tap the force sensor very fast the values are skipped because I think at that moment the controller is busy reading values from the mpu. I measured the time taken by the function for reading the mpu is around 10ms. When I stop reading the mpu no matter how fast I tap the sensor there is no value left off.
What I want is the value of the mpu and the bend sensor at a given time instance.
Can anybody suggest a possible solution for this?
I have 2 sensors connected to my arduino one is the invensense mpu6050 and the other is a force sensor. I am using the i2cdev library by jeff rowberg for the mpu6050. Now I am sequentially reading the values of mpu and those of the force sensor. Whenever I tap the force sensor very fast the values are skipped because I think at that moment the controller is busy reading values from the mpu. I measured the time taken by the function for reading the mpu is around 10ms. When I stop reading the mpu no matter how fast I tap the sensor there is no value left off.
What I want is the value of the mpu and the bend sensor at a given time instance.
Can anybody suggest a possible solution for this?