Done

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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers xi_user_config.h Source File

xi_user_config.h

00001 #ifndef __XI_USER_CONFIG_H__
00002 #define __XI_USER_CONFIG_H__
00003 
00004 // The following settings should lower memory footprint.
00005 // The library currently allows one to send batch datapoint
00006 // and feed updates, but it's not needed in most use cases
00007 #define XI_MAX_DATAPOINTS         1
00008 // The number of channels can be increased if needed
00009 #define XI_MAX_DATASTREAMS        5
00010 
00011 // Below are optimisations that reduce some minor functionality
00012 #define XI_OPT_NO_ERROR_STRINGS
00013 
00014 // If you wish to enable assertions, set this to 1
00015 #define XI_DEBUG_ASSERT 0
00016 // If you wish to disable debug output, set this to 0
00017 #define XI_DEBUG_OUTPUT 0
00018 
00019 // On the mbed app board we can use the LCD for debug output,
00020 // but one may wish to modify this and write to file instead
00021 #include "app_board_io.h"
00022 #define XI_DEBUG_PRINTF lcd_printf //TODO: use serial port...
00023 
00024 #endif /* __XI_USER_CONFIG_H__ */