Austin Blackstone / Mbed 2 deprecated murataTCPDemo

Dependencies:   SNICInterface mbed-rtos mbed

Fork of murataDemo by Austin Blackstone

app_board_io.cpp

Committer:
kishino
Date:
2014-11-14
Revision:
26:b666d1b66f62
Parent:
22:e567f0d4b05d

File content as of revision 26:b666d1b66f62:

#include "app_board_io.h"
#include "C12832.h"

extern C12832 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 );
}