pwm period is now 200us instead of the default 20ms veml6040 config is now AF_BIT | TRIG_BIT

Dependencies:   mbed MMA8451Q USBDevice WakeUp vt100

Fork of afero_node_suntory_2017_06_15 by Orefatoi

Revision:
6:88cc04eb613a
Parent:
5:9d5c7ee80f3b
Child:
21:d03c7bbb9f37
--- a/afLib/afLib.h	Tue Feb 28 02:09:06 2017 +0000
+++ b/afLib/afLib.h	Wed Mar 22 23:39:41 2017 +0000
@@ -23,6 +23,7 @@
 #include "Command.h"
 #include "StatusCommand.h"
 #include "afSPI.h"
+#include "WatchDoggy.hpp"
 
 #define STATE_IDLE                          0
 #define STATE_STATUS_SYNC                   1
@@ -77,7 +78,8 @@
     virtual void mcuISR();
 
 private:
-
+    Timeout deathWish;
+    static void kick_the_bucket();
     afSPI *_theSPI;
 
     //SPISettings _spiSettings;