Writing code in cpp for Arduino and mpu6050 gyro
Based on the project https://www.instructables.com/id/Balance-Bot-ArduinoUnompu6050l298n/
/* Microbit cannot be used for this project, its to slow + bloated and uses software ppm instead of hardware
MicroBit Implementation of a self balancing device
Use this editor to upload code https://makecode.microbit.org/#editor
TODO:
- start sequence
- PID controller (DONE IN VESC)
- max min auto-config (NEEDS TWEEKING)
- vesc config