this is a demo code for Seeed ARCH GPRS V2.0 to work with Xively
Dependencies: GPRSInterface USBDevice mbed libxively
Fork of Seeed_ARCH_GPRS_V2_Xively_HelloWorld by
xi_user_config.h@3:3b7881cf8bd0, 2014-09-15 (annotated)
- Committer:
- yihui
- Date:
- Mon Sep 15 07:13:30 2014 +0000
- Revision:
- 3:3b7881cf8bd0
- Parent:
- 0:8a01089092bd
update with latest libs
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lawliet | 0:8a01089092bd | 1 | #ifndef __XI_USER_CONFIG_H__ |
lawliet | 0:8a01089092bd | 2 | #define __XI_USER_CONFIG_H__ |
lawliet | 0:8a01089092bd | 3 | |
lawliet | 0:8a01089092bd | 4 | // The following settings should lower memory footprint. |
lawliet | 0:8a01089092bd | 5 | // The library currently allows one to send batch datapoint |
lawliet | 0:8a01089092bd | 6 | // and feed updates, but it's not needed in most use cases |
lawliet | 0:8a01089092bd | 7 | #define XI_MAX_DATAPOINTS 1 |
lawliet | 0:8a01089092bd | 8 | // The number of channels can be increased if needed |
lawliet | 0:8a01089092bd | 9 | #define XI_MAX_DATASTREAMS 5 |
lawliet | 0:8a01089092bd | 10 | |
lawliet | 0:8a01089092bd | 11 | // Below are optimisations that reduce some minor functionality |
lawliet | 0:8a01089092bd | 12 | #define XI_OPT_NO_ERROR_STRINGS |
lawliet | 0:8a01089092bd | 13 | |
lawliet | 0:8a01089092bd | 14 | // If you wish to enable assertions, set this to 1 |
lawliet | 0:8a01089092bd | 15 | #define XI_DEBUG_ASSERT 0 |
lawliet | 0:8a01089092bd | 16 | // If you wish to disable debug output, set this to 0 |
lawliet | 0:8a01089092bd | 17 | #define XI_DEBUG_OUTPUT 0 |
lawliet | 0:8a01089092bd | 18 | |
lawliet | 0:8a01089092bd | 19 | // On the mbed app board we can use the LCD for debug output, |
lawliet | 0:8a01089092bd | 20 | // but one may wish to modify this and write to file instead |
lawliet | 0:8a01089092bd | 21 | |
lawliet | 0:8a01089092bd | 22 | #endif /* __XI_USER_CONFIG_H__ */ |