Skip to content

Commit 6e2ad88

Browse files
committed
Merge branch 'dev' of github.com:askuric/Arduino-FOC into dev
2 parents 1080a4f + b910ff9 commit 6e2ad88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/utils/sensor_test/hall_sensors/hall_sensor_example/hall_sensor_example.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// HallSensor(int hallA, int hallB , int cpr, int index)
1212
// - hallA, hallB, hallC - HallSensor A, B and C pins
1313
// - pp - pole pairs
14-
HallSensor sensor = HallSensor(2, 3, 4, 11);
14+
HallSensor sensor = HallSensor(2, 3, 4, 14);
1515

1616
// Interrupt routine intialisation
1717
// channel A and B callbacks
@@ -44,4 +44,5 @@ void loop() {
4444
Serial.print(sensor.getAngle());
4545
Serial.print("\t");
4646
Serial.println(sensor.getVelocity());
47+
delay(100);
4748
}

0 commit comments

Comments
 (0)