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
util/USToDo.hpp
- Committer:
- Rhyme
- Date:
- 2017-10-18
- Revision:
- 23:e4d2316383a1
- Parent:
- 14:b205267fa5f6
File content as of revision 23:e4d2316383a1:
#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_