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
sensors/SensorsMain/SensorsMain.hpp@23:e4d2316383a1, 2017-10-18 (annotated)
- Committer:
- Rhyme
- Date:
- Wed Oct 18 00:31:13 2017 +0000
- Revision:
- 23:e4d2316383a1
- Parent:
- 21:d03c7bbb9f37
pwm period is now 200us from default 20ms; veml6040->setCOLORCOnf is now AF_BIT | TRIG_BIT from 0x00;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wataloh | 1:b2a9a6f2c30e | 1 | #ifndef _SENSORS_MAIN_H_ |
wataloh | 1:b2a9a6f2c30e | 2 | #define _SENSORS_MAIN_H_ |
wataloh | 1:b2a9a6f2c30e | 3 | |
wataloh | 1:b2a9a6f2c30e | 4 | #include "Preferences.hpp" |
wataloh | 1:b2a9a6f2c30e | 5 | |
wataloh | 1:b2a9a6f2c30e | 6 | #if defined (TARGET_KL25Z) |
wataloh | 1:b2a9a6f2c30e | 7 | #include "Temperature.hpp" |
wataloh | 1:b2a9a6f2c30e | 8 | #include "CurrentTrans.hpp" |
wataloh | 9:4d5ecf38636e | 9 | // #include "Accelerometer.hpp" |
wataloh | 9:4d5ecf38636e | 10 | #include "Accelerometer_Sekisan.hpp" |
wataloh | 1:b2a9a6f2c30e | 11 | #include "GasPressure.hpp" |
wataloh | 1:b2a9a6f2c30e | 12 | #include "LiquidPressure.hpp" |
wataloh | 5:9d5c7ee80f3b | 13 | #include "Color_VEML6040.hpp" |
wataloh | 1:b2a9a6f2c30e | 14 | #elif defined (TARGET_TEENSY3_1) |
wataloh | 1:b2a9a6f2c30e | 15 | // #include "Tilt.hpp" |
wataloh | 1:b2a9a6f2c30e | 16 | #include "Accelerometer.hpp" |
wataloh | 1:b2a9a6f2c30e | 17 | #endif |
wataloh | 1:b2a9a6f2c30e | 18 | |
wataloh | 21:d03c7bbb9f37 | 19 | class SensorsMain : |
wataloh | 21:d03c7bbb9f37 | 20 | public TimeEventHandler<SensorsMain>, |
wataloh | 21:d03c7bbb9f37 | 21 | public Singletoned<SensorsMain> |
wataloh | 1:b2a9a6f2c30e | 22 | { |
wataloh | 21:d03c7bbb9f37 | 23 | SensorsMain(); |
wataloh | 21:d03c7bbb9f37 | 24 | void go(); |
wataloh | 21:d03c7bbb9f37 | 25 | public: |
wataloh | 21:d03c7bbb9f37 | 26 | friend class TimeEventHandler; |
wataloh | 21:d03c7bbb9f37 | 27 | friend class Singletoned; |
wataloh | 1:b2a9a6f2c30e | 28 | }; |
wataloh | 1:b2a9a6f2c30e | 29 | |
wataloh | 1:b2a9a6f2c30e | 30 | #endif //_SENSORS_MAIN_H_ |