Skip to content

Commit 09ff14b

Browse files
authored
Merge pull request #27 from zbas/patch-1
Update magnetic_sensor_i2c.md
2 parents bba51b6 + 8d4d0b5 commit 09ff14b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/simplefoc_library/code/sensors/magnetic/magnetic_sensor_i2c.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ void setup() {
189189
void loop() {
190190
// IMPORTANT - call as frequently as possible
191191
// update the sensor values
192-
sensor.update();
192+
as5600.update();
193193
// display the angle and the angular velocity to the terminal
194194
Serial.print(as5600.getAngle());
195195
Serial.print("\t");
196196
Serial.println(as5600.getVelocity());
197197
}
198-
```
198+
```

0 commit comments

Comments
 (0)