The script defines the physical constants of the wheel hub, such as the radius, material density, and sensor offsets. 2. The Calculation Loop
You can simulate specific tire compounds (Slicks vs. Rain tires) by simply changing a few variables in the script.
⚠️ Check your Pro Micro pinout — SDA/SCL are usually on pins 2 & 3 but conflict with interrupts. Better to use a separate I2C pin (e.g., A4/A5 on some variants). Adjust accordingly.