Bryce Williams / FivePosSwitch

Fork of FivePosSwitch by Bryce Williams

Revision:
5:413df8008ce3
Parent:
4:10c4b7cb4e8c
--- a/FivePosSwitch.h	Sun Oct 04 20:07:52 2015 +0000
+++ b/FivePosSwitch.h	Thu Oct 08 23:54:31 2015 +0000
@@ -48,7 +48,7 @@
 #define FIVE_POS_SWITCH
 #include "mbed.h"
 
-enum ACTIVE_POSITION{NONE, UP, CENTER, LEFT, DOWN, RIGHT};
+enum ACTIVE_POSITION{NONE = 0, UP = -1, CENTER = -2, LEFT = -3, DOWN = -4, RIGHT = -5};
 
 class FivePosSwitch{
     public: