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

Revision:
10:02e481a80843
Parent:
9:4d5ecf38636e
Child:
11:126608c57c41
--- a/preferences/Preferences.hpp	Fri Mar 24 11:03:28 2017 +0000
+++ b/preferences/Preferences.hpp	Wed Mar 29 00:42:12 2017 +0000
@@ -112,9 +112,9 @@
         AMB_CONFIG = 0x00, // most sensitive gain
         RAW_MODE = 0x20, // MODE_CLEAR_RGB_IR
         PWM_LED_B = 0xFA,
-        PWM_LED_R_UI16 = 0x5458,
-        PWM_LED_G_UI16 = 0xE268,
-        PWM_LED_B_UI16 = 0x5F2F
+        PWM_LED_R_UI16 = 0x5FA2,
+        PWM_LED_G_UI16 = 0xB09B,
+        PWM_LED_B_UI16 = 0x83EF
     };
     struct TRIM
     {
@@ -538,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