The car is controlled by the PS2 controller and the temperature is sent on xively via the wifly.

Dependencies:   C12832_lcd WiflyInterface libxively mbed-rtos mbed LM75B MMA7660

Fork of IOT-Project-Wifly-Xively by Bhakti Kulkarni

app_board_io.cpp

Committer:
bhakti08
Date:
2014-06-09
Revision:
7:c7023f76310e
Parent:
5:efa4a9eafe7d

File content as of revision 7:c7023f76310e:

#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 );
}