Sensor values different to Uno

willijr0
Posts: 1
Joined: Sat Nov 09, 2019 5:17 pm

Sensor values different to Uno

Postby willijr0 » Sat Nov 09, 2019 5:30 pm

Hi
Sorry if this is a very basic question but I'd like to know how to change code that reads sensor data from things like MPU-6050 boards on an Arduino Uno so it reads it correctly on an ESP32. I realise that the Uno is 16 bit and the ESP32 is 32 but I'm not sure how to change it. Changing int to uint16_t isn't enough. Apologies if this is obvious to many of you but I'd love a clear explanation.
Thanks

Who is online

Users browsing this forum: No registered users and 75 guests