Use Seeed Wifi shield and WiflyInterface to send current time to the Xively Service
Dependencies: WiflyInterface libxively mbed
Fork of Wifly_HelloWorld by
xi_user_config.h@6:3c44af154da8, 2013-11-09 (annotated)
- Committer:
- lz307
- Date:
- Sat Nov 09 01:02:05 2013 +0000
- Revision:
- 6:3c44af154da8
Use the Seeed wifi shield and WiflyInterface to send the current time to the Xively Service.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lz307 | 6:3c44af154da8 | 1 | #ifndef __XI_USER_CONFIG_H__ |
lz307 | 6:3c44af154da8 | 2 | #define __XI_USER_CONFIG_H__ |
lz307 | 6:3c44af154da8 | 3 | |
lz307 | 6:3c44af154da8 | 4 | // The following settings should lower memory footprint. |
lz307 | 6:3c44af154da8 | 5 | // The library currently allows one to send batch datapoint |
lz307 | 6:3c44af154da8 | 6 | // and feed updates, but it's not needed in most use cases |
lz307 | 6:3c44af154da8 | 7 | #define XI_MAX_DATAPOINTS 1 |
lz307 | 6:3c44af154da8 | 8 | // The number of channels can be increased if needed |
lz307 | 6:3c44af154da8 | 9 | #define XI_MAX_DATASTREAMS 5 |
lz307 | 6:3c44af154da8 | 10 | |
lz307 | 6:3c44af154da8 | 11 | // Below are optimisations that reduce some minor functionality |
lz307 | 6:3c44af154da8 | 12 | #define XI_OPT_NO_ERROR_STRINGS |
lz307 | 6:3c44af154da8 | 13 | |
lz307 | 6:3c44af154da8 | 14 | // If you wish to enable assertions, set this to 1 |
lz307 | 6:3c44af154da8 | 15 | #define XI_DEBUG_ASSERT 0 |
lz307 | 6:3c44af154da8 | 16 | // If you wish to disable debug output, set this to 0 |
lz307 | 6:3c44af154da8 | 17 | #define XI_DEBUG_OUTPUT 0 |
lz307 | 6:3c44af154da8 | 18 | |
lz307 | 6:3c44af154da8 | 19 | // On the mbed app board we can use the LCD for debug output, |
lz307 | 6:3c44af154da8 | 20 | // but one may wish to modify this and write to file instead |
lz307 | 6:3c44af154da8 | 21 | #define XI_DEBUG_PRINTF printf |
lz307 | 6:3c44af154da8 | 22 | |
lz307 | 6:3c44af154da8 | 23 | #endif /* __XI_USER_CONFIG_H__ */ |