Done

Dependencies:   C12832_lcd EthernetInterface LM75B MMA7660 NTPClient libxively mbed-rtos mbed

Committer:
bhakti08
Date:
Tue Jun 03 04:26:54 2014 +0000
Revision:
0:8f6eb1fedc58
Done

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bhakti08 0:8f6eb1fedc58 1 #ifndef __XI_USER_CONFIG_H__
bhakti08 0:8f6eb1fedc58 2 #define __XI_USER_CONFIG_H__
bhakti08 0:8f6eb1fedc58 3
bhakti08 0:8f6eb1fedc58 4 // The following settings should lower memory footprint.
bhakti08 0:8f6eb1fedc58 5 // The library currently allows one to send batch datapoint
bhakti08 0:8f6eb1fedc58 6 // and feed updates, but it's not needed in most use cases
bhakti08 0:8f6eb1fedc58 7 #define XI_MAX_DATAPOINTS 1
bhakti08 0:8f6eb1fedc58 8 // The number of channels can be increased if needed
bhakti08 0:8f6eb1fedc58 9 #define XI_MAX_DATASTREAMS 5
bhakti08 0:8f6eb1fedc58 10
bhakti08 0:8f6eb1fedc58 11 // Below are optimisations that reduce some minor functionality
bhakti08 0:8f6eb1fedc58 12 #define XI_OPT_NO_ERROR_STRINGS
bhakti08 0:8f6eb1fedc58 13
bhakti08 0:8f6eb1fedc58 14 // If you wish to enable assertions, set this to 1
bhakti08 0:8f6eb1fedc58 15 #define XI_DEBUG_ASSERT 0
bhakti08 0:8f6eb1fedc58 16 // If you wish to disable debug output, set this to 0
bhakti08 0:8f6eb1fedc58 17 #define XI_DEBUG_OUTPUT 0
bhakti08 0:8f6eb1fedc58 18
bhakti08 0:8f6eb1fedc58 19 // On the mbed app board we can use the LCD for debug output,
bhakti08 0:8f6eb1fedc58 20 // but one may wish to modify this and write to file instead
bhakti08 0:8f6eb1fedc58 21 #include "app_board_io.h"
bhakti08 0:8f6eb1fedc58 22 #define XI_DEBUG_PRINTF lcd_printf //TODO: use serial port...
bhakti08 0:8f6eb1fedc58 23
bhakti08 0:8f6eb1fedc58 24 #endif /* __XI_USER_CONFIG_H__ */