Yes, I want to be able to build a firmware file with MicroPython & LGVL.
How do you cross compile for the ESP32? How do you then make the firmware image?
Never mind. As simple Python code.
This code was very helpful. Thanks!
I tried adding temperature as well:
tmp = i2c.readfrom_mem(MPU6886_ADDRESS, MPU6886_TEMP_OUT_H, 2) temp = (tmp<<8|tmp) temp = (float(temp) / 326.8) + 25.0;
I'm getting temps of 40.5C (105F). Am I doing something wrong or is this temperature the CPU temp?
Sorry for the newbe questions. You've been a big help.