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