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

Committer:
Rhyme
Date:
Wed Oct 18 00:31:13 2017 +0000
Revision:
23:e4d2316383a1
Parent:
14:b205267fa5f6
pwm period is now 200us from default 20ms; veml6040->setCOLORCOnf is now AF_BIT | TRIG_BIT from 0x00;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wataloh 14:b205267fa5f6 1 #ifndef _ULTRA_SIMPLE_TODO_HPP_
wataloh 14:b205267fa5f6 2 #define _ULTRA_SIMPLE_TODO_HPP_
wataloh 14:b205267fa5f6 3
wataloh 14:b205267fa5f6 4 struct USToDo
wataloh 14:b205267fa5f6 5 {
wataloh 14:b205267fa5f6 6 union Dat
wataloh 14:b205267fa5f6 7 {
wataloh 14:b205267fa5f6 8 uint16_t ui16[2];
wataloh 14:b205267fa5f6 9 int16_t i16[2];
wataloh 14:b205267fa5f6 10 };
wataloh 14:b205267fa5f6 11
wataloh 14:b205267fa5f6 12 Dat dat;
wataloh 14:b205267fa5f6 13
wataloh 14:b205267fa5f6 14 struct Method
wataloh 14:b205267fa5f6 15 {
wataloh 14:b205267fa5f6 16 virtual void onDatProcess(Dat &dat) = 0;
wataloh 14:b205267fa5f6 17 };
wataloh 14:b205267fa5f6 18
wataloh 14:b205267fa5f6 19 Method *method;
wataloh 14:b205267fa5f6 20
wataloh 14:b205267fa5f6 21 void exec()
wataloh 14:b205267fa5f6 22 {
wataloh 14:b205267fa5f6 23 method->onDatProcess(dat);
wataloh 14:b205267fa5f6 24 }
wataloh 14:b205267fa5f6 25 };
wataloh 14:b205267fa5f6 26
wataloh 14:b205267fa5f6 27 #endif //_ULTRA_SIMPLE_TODO_HPP_