Skip to content

Commit

Permalink
Merge pull request #27 from zbas/patch-1
Browse files Browse the repository at this point in the history
Update magnetic_sensor_i2c.md
  • Loading branch information
askuric authored Jun 20, 2024
2 parents bba51b6 + 8d4d0b5 commit 09ff14b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ void setup() {
void loop() {
// IMPORTANT - call as frequently as possible
// update the sensor values
sensor.update();
as5600.update();
// display the angle and the angular velocity to the terminal
Serial.print(as5600.getAngle());
Serial.print("\t");
Serial.println(as5600.getVelocity());
}
```
```

0 comments on commit 09ff14b

Please sign in to comment.