![](/media/cache/group/orange_and_cat.png.50x50_q85.jpg)
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: spi/AferoCommHndlr.cpp
- Revision:
- 19:b45b077c88bc
- Parent:
- 15:2c2c0a7c50c1
- Child:
- 21:d03c7bbb9f37
--- a/spi/AferoCommHndlr.cpp Thu Jun 01 02:13:30 2017 +0000 +++ b/spi/AferoCommHndlr.cpp Fri Jun 02 00:55:55 2017 +0000 @@ -53,9 +53,9 @@ int32_t AferoCommHndlr::sanitizeSensingInterval(uint16_t attributeId, int32_t interval) { - if(interval < 5) + if(interval < 10) { - interval = 5; + interval = 10; self->piafLib->setAttribute32(attributeId, interval) != afSUCCESS ? SERIAL_PRINT_DBG("set attr failed!!\n") : NULL ; } return interval;