Ported the majority of Servo2040 MP examples to C++
This commit is contained in:
parent
f46deb1c5b
commit
41d55b1115
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue