The car is controlled by the PS2 controller and the temperature is sent on xively via the wifly.
Dependencies: C12832_lcd WiflyInterface libxively mbed-rtos mbed LM75B MMA7660
Fork of IOT-Project-Wifly-Xively by
xi_user_config.h@7:c7023f76310e, 2014-06-09 (annotated)
- Committer:
- bhakti08
- Date:
- Mon Jun 09 22:53:04 2014 +0000
- Revision:
- 7:c7023f76310e
- Parent:
- 5:efa4a9eafe7d
Final
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__ */ |