Skip to content

Commit

Permalink
minor changes to simpleReading
Browse files Browse the repository at this point in the history
  • Loading branch information
tekdemo committed Feb 11, 2014
1 parent ba0db86 commit 2330e19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/SimpleReading/SimpleReading.ino
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ void loop(){
oldmillis=millis();

//Do a printout of some of the different ways we can read the angle
Serial.print("Angle:"); Serial.print(mag.angle());
Serial.print("Angle:"); Serial.print(mag.angle
Serial.print("\tR:"); Serial.print(mag.rotations);
Serial.print("\tDegrees:"); Serial.print(mag.angleDegrees());
Serial.print("\tRads:"); Serial.print(mag.angleRad());
Serial.print("\tdAngle:"); Serial.print(mag.deltaAngle());
Expand Down

0 comments on commit 2330e19

Please sign in to comment.