Fork for marginal changes to UI library.

Dependents:   Data-Management-Honka

Fork of UI by Michael Ling

Revision:
6:be26def664d1
Parent:
0:6b5a3a0138ad
Child:
7:53de0bee308d
--- a/UserInterface.h	Sat Feb 14 00:36:19 2015 +0000
+++ b/UserInterface.h	Sun Apr 05 21:15:37 2015 +0000
@@ -13,7 +13,17 @@
 #include "mbed.h"
 #include "MODSERIAL.h"
 #include "initDatabed.h"
-extern int UI;
+
+/* UI button press types */
+enum UI_t {
+    BUTTON_NONE = 0,
+    BUTTON_A_PRESS = 1,
+    BUTTON_B_PRESS = 2,
+    BUTTON_A_HOLD = 3,
+    BUTTON_B_HOLD = 4
+};
+
+extern UI_t UI;
 class UserInterface
 {
 public: