We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bba51b6 + 8d4d0b5 commit 09ff14bCopy full SHA for 09ff14b
docs/simplefoc_library/code/sensors/magnetic/magnetic_sensor_i2c.md
@@ -189,10 +189,10 @@ void setup() {
189
void loop() {
190
// IMPORTANT - call as frequently as possible
191
// update the sensor values
192
- sensor.update();
+ as5600.update();
193
// display the angle and the angular velocity to the terminal
194
Serial.print(as5600.getAngle());
195
Serial.print("\t");
196
Serial.println(as5600.getVelocity());
197
}
198
-```
+```
0 commit comments