Bryce Williams / FivePosSwitch

Fork of FivePosSwitch by Bryce Williams

Revision:
2:a415472059c3
Parent:
0:0388385d4480
Child:
3:dcb9eef119cf
--- a/FivePosSwitch.h	Sun Oct 04 19:18:10 2015 +0000
+++ b/FivePosSwitch.h	Sun Oct 04 19:31:36 2015 +0000
@@ -52,7 +52,13 @@
 
 class FivePosSwitch{
     public:
+        /** Constructor for FivePosSwitch
+            @param <pin> The AnalogIn Pin
+        */ 
         FivePosSwitch(AnalogIn pin);
+        /** Get the currently pressed switch position
+            @return The currently pressed switch position 
+        */
         ACTIVE_POSITION getPosition();
     private:
         AnalogIn _pin;