Skip to content

Commit 9aa70f4

Browse files
committed
fix typos
1 parent 9e694fc commit 9aa70f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/edit-magalpha-config/edit-magalpha-config.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void loop() {
2525
uint16_t angleRaw16;
2626
uint8_t angleRaw8;
2727

28-
Serial.println("Read Angle using differents methods:");
28+
Serial.println("Read Angle using different methods:");
2929

3030
//Read the angle in degree (Read 16-bit raw angle value and then convert it to the 0-360 degree range)
3131
angle = magAlpha.readAngle();
@@ -49,7 +49,7 @@ void loop() {
4949

5050
//Read the angle (16-bit raw angle value) and check the parity bit to detect possible communication error
5151
bool error;
52-
angleRaw16 = magAlpha.readAngleRaw16(&error);
52+
angleRaw16 = magAlpha.readAngleRaw(&error);
5353
Serial.print(" magAlpha.readAngleRaw16(&error) = ");
5454
Serial.print(angleRaw16, DEC);
5555
if (error == true){

0 commit comments

Comments
 (0)