This is the final project for UCSC - June 9 2014

Dependencies:   C12832_lcd EthernetInterface libxively mbed-rtos mbed

app_board_io.cpp

Committer:
sqnewton
Date:
2014-06-09
Revision:
1:125edf3ee8f9
Parent:
0:ae48035646b3

File content as of revision 1:125edf3ee8f9:

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