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
Diff: preferences/Preferences.hpp
- Revision:
- 8:db2a38920cd6
- Parent:
- 6:88cc04eb613a
- Child:
- 9:4d5ecf38636e
diff -r e49bce0586b8 -r db2a38920cd6 preferences/Preferences.hpp --- a/preferences/Preferences.hpp Wed Mar 22 23:49:30 2017 +0000 +++ b/preferences/Preferences.hpp Thu Mar 23 04:58:39 2017 +0000 @@ -112,12 +112,9 @@ AMB_CONFIG = 0x00, // most sensitive gain RAW_MODE = 0x20, // MODE_CLEAR_RGB_IR PWM_LED_B = 0xFA, -// PWM_LED_R_UI16 = 0x7C02, -// PWM_LED_G_UI16 = 0x8F1D, -// PWM_LED_B_UI16 = 0x91BB, - PWM_LED_R_UI16 = 0x60FC, - PWM_LED_G_UI16 = 0xD592, - PWM_LED_B_UI16 = 0x7C87, + PWM_LED_R_UI16 = 0x5458, + PWM_LED_G_UI16 = 0xE268, + PWM_LED_B_UI16 = 0x5F2F }; struct TRIM { @@ -323,7 +320,7 @@ { enum { - BEFORE_COOLING = PTC2, + BEFORE_COOLING = PTB0, //PTC2, AFTER_COOLING = PTB1, SDA = PTE0, SCL = PTE1 @@ -541,11 +538,11 @@ //template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { false, false, false, false, true }; // temperature //template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { false, true, false, false, false }; // color -//template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { true, true, false, false, true }; // color + temp + accelerometer +template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { true, true, false, false, true }; // color + temp + accelerometer //template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { false, true, false, false, true }; // color + temp //template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { false, true, false, true, true }; // sensor box //template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { false, false, true, false, false }; // pressure -template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { true, false, false, false, false }; // accelerometer +//template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { true, false, false, false, false }; // accelerometer //template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { false, true, false, false, false }; // color only ... sensor box //template<> bool SENSORS_BASE<SENSORS>::ACTIVE[SENSORS::SIZE] = { false, false, false, true, false }; // CT only ... sensor box