Hi All, I am new to ESP32 world, and now working on my first project.
I am trying to read MPU6050 inside a timer interrupt, but always get 0 values. But without using timer interupts, it works fine.
Can anyone please adise what do I miss here ? Much appreciated.
Reading I2C from timer interupts
Re: Reading I2C from timer interupts
in interrupt set the flag variable, and main loop check this flag and read i2c and clear the flag
Who is online
Users browsing this forum: No registered users and 69 guests