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:
14:b205267fa5f6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/util/USToDo.hpp	Tue May 16 08:58:26 2017 +0000
@@ -0,0 +1,27 @@
+#ifndef _ULTRA_SIMPLE_TODO_HPP_
+#define _ULTRA_SIMPLE_TODO_HPP_
+
+struct USToDo
+{
+    union Dat
+    {
+        uint16_t ui16[2];
+        int16_t i16[2];
+    };
+    
+    Dat dat;
+    
+    struct Method
+    {
+        virtual void onDatProcess(Dat &dat) = 0;
+    };
+    
+    Method *method;
+    
+    void exec()
+    {
+        method->onDatProcess(dat);
+    }
+};
+
+#endif //_ULTRA_SIMPLE_TODO_HPP_
\ No newline at end of file