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
Diff: app_board_io.cpp
- Revision:
- 6:d5023e875887
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app_board_io.cpp Mon Jun 02 19:13:07 2014 +0000 @@ -0,0 +1,19 @@ +#include "app_board_io.h" +#include "C12832_lcd.h" + +extern C12832_LCD lcd; + +extern "C" void lcd_printf( const char* fmt, ... ) +{ + char buffer[ 64 ]; + + va_list ap; + va_start( ap, fmt ); + vsnprintf( buffer, 64, fmt, ap ); + va_end( ap ); + + lcd.cls(); + lcd.locate( 0, 3 ); + lcd.printf( buffer ); + //wait( 1.0 ); +} \ No newline at end of file