This is the final project for UCSC - June 9 2014
Dependencies: C12832_lcd EthernetInterface libxively mbed-rtos mbed
xi_user_config.h@1:125edf3ee8f9, 2014-06-09 (annotated)
- Committer:
- sqnewton
- Date:
- Mon Jun 09 20:19:30 2014 +0000
- Revision:
- 1:125edf3ee8f9
- Parent:
- 0:ae48035646b3
FINAL PROJECT
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sqnewton | 0:ae48035646b3 | 1 | #ifndef __XI_USER_CONFIG_H__ |
sqnewton | 0:ae48035646b3 | 2 | #define __XI_USER_CONFIG_H__ |
sqnewton | 0:ae48035646b3 | 3 | |
sqnewton | 0:ae48035646b3 | 4 | // The following settings should lower memory footprint. |
sqnewton | 0:ae48035646b3 | 5 | // The library currently allows one to send batch datapoint |
sqnewton | 0:ae48035646b3 | 6 | // and feed updates, but it's not needed in most use cases |
sqnewton | 0:ae48035646b3 | 7 | #define XI_MAX_DATAPOINTS 1 |
sqnewton | 0:ae48035646b3 | 8 | // The number of channels can be increased if needed |
sqnewton | 0:ae48035646b3 | 9 | #define XI_MAX_DATASTREAMS 5 |
sqnewton | 0:ae48035646b3 | 10 | |
sqnewton | 0:ae48035646b3 | 11 | // Below are optimisations that reduce some minor functionality |
sqnewton | 0:ae48035646b3 | 12 | #define XI_OPT_NO_ERROR_STRINGS |
sqnewton | 0:ae48035646b3 | 13 | |
sqnewton | 0:ae48035646b3 | 14 | // If you wish to enable assertions, set this to 1 |
sqnewton | 0:ae48035646b3 | 15 | #define XI_DEBUG_ASSERT 0 |
sqnewton | 0:ae48035646b3 | 16 | // If you wish to disable debug output, set this to 0 |
sqnewton | 0:ae48035646b3 | 17 | #define XI_DEBUG_OUTPUT 0 |
sqnewton | 0:ae48035646b3 | 18 | |
sqnewton | 0:ae48035646b3 | 19 | // On the mbed app board we can use the LCD for debug output, |
sqnewton | 0:ae48035646b3 | 20 | // but one may wish to modify this and write to file instead |
sqnewton | 0:ae48035646b3 | 21 | //#include "app_board_io.h" |
sqnewton | 0:ae48035646b3 | 22 | #define XI_DEBUG_PRINTF lcd_printf //TODO: use serial port... |
sqnewton | 0:ae48035646b3 | 23 | |
sqnewton | 0:ae48035646b3 | 24 | #endif /* __XI_USER_CONFIG_H__ */ |