Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
46:28c29ef61276
Parent:
45:1eb335c00cb2
Child:
50:efe0f3017848
--- a/TA.h	Sat Jan 09 21:46:34 2016 +0000
+++ b/TA.h	Mon Jan 11 16:34:46 2016 +0000
@@ -7,10 +7,14 @@
 #include "neopixel.h"
 
 #define DATA_SIZE 24
+
+#define MAX_LEN   24  // buffer input commands up to this length
+
 #define SILENT 0x20
 
-#define TOUCHLIGHTS  0x7
+#define TOUCHLIGHTS  0x7                                      /* We'll use bit 2 for the power button */
 #define DEFTOUCHMASK (TOUCHLIGHTS & (5 | 2 /* test/bott */))  /* Note:  No longer using "bottom" touch sensor/lights */
+#define DIS_ON_DARK 0x40                                      /* Used for disabling touch sensor(s) when in dark mode */
 
 struct Message 
 {
@@ -124,7 +128,7 @@
 bool recieve(Message *m);
 void spin(void);
 bool activated(void);
-void resetTouchIfStuck();
+void resetTouch();
 bool tripped(void);
 uint8_t buttons(void);
 void setMask(uint8_t the_mask);