Xively park working
Dependencies: C12832_lcd LM75B MMA7660 WiflyInterface libxively mbed-rtos mbed
Fork of IOT-Project-LED-ControlTelnet by
xi_user_config.h@5:efa4a9eafe7d, 2014-06-07 (annotated)
- Committer:
- bhakti08
- Date:
- Sat Jun 07 01:04:41 2014 +0000
- Revision:
- 5:efa4a9eafe7d
IOT_Project_Xively;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bhakti08 | 5:efa4a9eafe7d | 1 | #ifndef __XI_USER_CONFIG_H__ |
bhakti08 | 5:efa4a9eafe7d | 2 | #define __XI_USER_CONFIG_H__ |
bhakti08 | 5:efa4a9eafe7d | 3 | |
bhakti08 | 5:efa4a9eafe7d | 4 | // The following settings should lower memory footprint. |
bhakti08 | 5:efa4a9eafe7d | 5 | // The library currently allows one to send batch datapoint |
bhakti08 | 5:efa4a9eafe7d | 6 | // and feed updates, but it's not needed in most use cases |
bhakti08 | 5:efa4a9eafe7d | 7 | #define XI_MAX_DATAPOINTS 1 |
bhakti08 | 5:efa4a9eafe7d | 8 | // The number of channels can be increased if needed |
bhakti08 | 5:efa4a9eafe7d | 9 | #define XI_MAX_DATASTREAMS 5 |
bhakti08 | 5:efa4a9eafe7d | 10 | |
bhakti08 | 5:efa4a9eafe7d | 11 | // Below are optimisations that reduce some minor functionality |
bhakti08 | 5:efa4a9eafe7d | 12 | #define XI_OPT_NO_ERROR_STRINGS |
bhakti08 | 5:efa4a9eafe7d | 13 | |
bhakti08 | 5:efa4a9eafe7d | 14 | // If you wish to enable assertions, set this to 1 |
bhakti08 | 5:efa4a9eafe7d | 15 | #define XI_DEBUG_ASSERT 0 |
bhakti08 | 5:efa4a9eafe7d | 16 | // If you wish to disable debug output, set this to 0 |
bhakti08 | 5:efa4a9eafe7d | 17 | #define XI_DEBUG_OUTPUT 0 |
bhakti08 | 5:efa4a9eafe7d | 18 | |
bhakti08 | 5:efa4a9eafe7d | 19 | // On the mbed app board we can use the LCD for debug output, |
bhakti08 | 5:efa4a9eafe7d | 20 | // but one may wish to modify this and write to file instead |
bhakti08 | 5:efa4a9eafe7d | 21 | #include "app_board_io.h" |
bhakti08 | 5:efa4a9eafe7d | 22 | #define XI_DEBUG_PRINTF lcd_printf //TODO: use serial port... |
bhakti08 | 5:efa4a9eafe7d | 23 | |
bhakti08 | 5:efa4a9eafe7d | 24 | #endif /* __XI_USER_CONFIG_H__ */ |