Ported the majority of Servo2040 MP examples to C++

This commit is contained in:
ZodiusInfuser 2022-03-25 18:28:03 +00:00
parent f46deb1c5b
commit 41d55b1115
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ namespace servo {
const uint NUM_SENSORS = 6;
const uint VOLTAGE_SENSE_ADDR = 0b110;
const uint VOLTAGE_SENSE_ADDR = 0b111;
const uint CURRENT_SENSE_ADDR = 0b111;
constexpr float SHUNT_RESISTOR = 0.003f;
constexpr float CURRENT_GAIN = 69;