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:
21:d03c7bbb9f37
Parent:
6:88cc04eb613a
--- a/afLib/afLib.h	Mon Jun 05 07:59:10 2017 +0000
+++ b/afLib/afLib.h	Fri Jun 09 01:49:53 2017 +0000
@@ -23,7 +23,7 @@
 #include "Command.h"
 #include "StatusCommand.h"
 #include "afSPI.h"
-#include "WatchDoggy.hpp"
+#include "WatchDogWrapper.hpp"
 
 #define STATE_IDLE                          0
 #define STATE_STATUS_SYNC                   1
@@ -79,6 +79,7 @@
 
 private:
     Timeout deathWish;
+    Timer *checkLastSync;
     static void kick_the_bucket();
     afSPI *_theSPI;