File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/edit-magalpha-config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ){
You can’t perform that action at this time.
0 commit comments