tockn

Results 5 comments of tockn

This code may work. Could you try it? I have only ESP32. ``` #include #include MPU6050 mpu6050(Wire); void setup() { Serial.begin(9600); int SDA = 4; // you can choose SDA...

hmm... My ESP32 works perfectly this code. Could you check your wiring? (Especially SCL and SDA)

Is this the same of your ESP32 OLED? https://banggood.com/Wemos-ESP32-OLED-Module-For-Arduino-ESP32-OLED-WiFi-Bluetooth-Dual-ESP-32-ESP-32S-ESP8266-p-1148119.html?cur_warehouse=CN If so, you can use `25` and `26` pin. You will connect `25` to `SDA` and `26` to `SCL` and following...

Because we cannot calculate angleZ by using accelerometer, so I use only gyro sensor in calculating angleZ. If you want to more accurate angleZ, you can use other sensor together....

Thanks! I wanna merge your code after fix some bugs. Could you send me a Pull Request?