This code is used to transmit the temperature sensed by the mbed to the xively via wifly. The car is self controlled.
Dependencies: C12832_lcd WiflyInterface libxively mbed-rtos mbed
Fork of Mode-1_PS2_Wifly_Xively by
app_board_io.cpp
- Committer:
- bhakti08
- Date:
- 2014-06-09
- Revision:
- 6:9abfe16d39e0
- Parent:
- 5:efa4a9eafe7d
File content as of revision 6:9abfe16d39e0:
#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 );
}
