Skip to content

Commit e42fd55

Browse files
authored
Update voltage_control.ino
1 parent 2c38529 commit e42fd55

File tree

1 file changed

+2
-2
lines changed
  • examples/motion_control/torque_voltage_control/magnetic_sensor/voltage_control

1 file changed

+2
-2
lines changed

examples/motion_control/torque_voltage_control/magnetic_sensor/voltage_control/voltage_control.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <SimpleFOC.h>
1010

1111
// magnetic sensor instance
12-
MagneticSensorSPI sensor = MagneticSensorSPI(10, 16384, 0x3FFF);
12+
MagneticSensorSPI sensor = MagneticSensorSPI(10, 14, 0x3FFF);
1313
// magnetic sensor instance
1414
//MagneticSensorI2C sensor = MagneticSensorI2C(0x36, 12, 0x0E, 4);
1515

@@ -100,4 +100,4 @@ void serialReceiveUserCommand() {
100100
received_chars = "";
101101
}
102102
}
103-
}
103+
}

0 commit comments

Comments
 (0)