* AM2321的取温度间隔得大于2s,否则,i2c会不工作了 * SimpleTimer有个bug,会导致两次快速的读温度,现在读温度函数里加了保护 * Blynk有个bug,会导致无法把数据传到服务器 * 现在可以正常工作了
Config.h@0:740c1eb2df13, 2016-06-23 (annotated)
- Committer:
- lixianyu
- Date:
- Thu Jun 23 11:16:14 2016 +0000
- Revision:
- 0:740c1eb2df13
* AM2321?????????2s????i2c?????; * SimpleTimer??bug?????????????????????????; * Blynk??bug??????????????; * ?????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lixianyu | 0:740c1eb2df13 | 1 | #ifndef __CONFIG_H_ |
lixianyu | 0:740c1eb2df13 | 2 | #define __CONFIG_H_ |
lixianyu | 0:740c1eb2df13 | 3 | |
lixianyu | 0:740c1eb2df13 | 4 | // Uncomment this to turn on the Blynk |
lixianyu | 0:740c1eb2df13 | 5 | #define OPEN_BLYNK |
lixianyu | 0:740c1eb2df13 | 6 | |
lixianyu | 0:740c1eb2df13 | 7 | // Uncomment this to turn on the OLED |
lixianyu | 0:740c1eb2df13 | 8 | #define OPEN_OLED |
lixianyu | 0:740c1eb2df13 | 9 | |
lixianyu | 0:740c1eb2df13 | 10 | // Uncomment this to open PM25 |
lixianyu | 0:740c1eb2df13 | 11 | //#define OPEN_PM25 |
lixianyu | 0:740c1eb2df13 | 12 | |
lixianyu | 0:740c1eb2df13 | 13 | |
lixianyu | 0:740c1eb2df13 | 14 | #endif // __CONFIG_H_ |