Using the code below, I'm trying to connect an MCU6050 to the Scamp3.
At first, the code seems to work. The I2C clock speed is reduced.
But after reading the sensor a few times, the program hangs, or the I2C is broken.
With the test program, I call the MCU, delete the result, and print a dot.
But after calling the program about 15 times, the program stops.
I've also written test code for the Arduino Uno, and it runs perfectly, without
the system hanging.
Include also the basic procedure arduino to read the MCU6050.
Using the code below, I'm trying to connect an MCU6050 to the Scamp3.
At first, the code seems to work. The I2C clock speed is reduced.
But after reading the sensor a few times, the program hangs, or the I2C is broken.
With the test program, I call the MCU, delete the result, and print a dot.
But after calling the program about 15 times, the program stops.
I've also written test code for the Arduino Uno, and it runs perfectly, without
the system hanging.
Include also the basic procedure arduino to read the MCU6050.
My question is, am I doing something wrong?
Arduino:
Is your data stack balanced? Does it grow or shrink?
I have checked every word en the stack behavior is as it should. In my test program the stack is in balance!
I have checked every word en the stack behavior is as it should. In my test program the stack is in balance!