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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers USToDo.hpp Source File

USToDo.hpp

00001 #ifndef _ULTRA_SIMPLE_TODO_HPP_
00002 #define _ULTRA_SIMPLE_TODO_HPP_
00003 
00004 struct USToDo
00005 {
00006     union Dat
00007     {
00008         uint16_t ui16[2];
00009         int16_t i16[2];
00010     };
00011     
00012     Dat dat;
00013     
00014     struct Method
00015     {
00016         virtual void onDatProcess(Dat &dat) = 0;
00017     };
00018     
00019     Method *method;
00020     
00021     void exec()
00022     {
00023         method->onDatProcess(dat);
00024     }
00025 };
00026 
00027 #endif //_ULTRA_SIMPLE_TODO_HPP_