Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: AS5600.h
- Revision:
 - 1:e4b72c71ca47
 - Parent:
 - 0:ec69fa9832e5
 
diff -r ec69fa9832e5 -r e4b72c71ca47 AS5600.h
--- a/AS5600.h	Tue Feb 28 12:26:56 2017 +0000
+++ b/AS5600.h	Thu May 21 19:09:28 2020 +0000
@@ -9,9 +9,12 @@
     float getAngleDegrees();
     int getAngleAbsolute();
     int getAngleRelative();
+    int getMagnitude();
     float getAngleMinMax(float angleMax);
     
     int isMagnetPresent();
+    int sensorState();
+    
     
     void init();
     void setZero();