Austin Blackstone / Mbed 2 deprecated murataDemo

Dependencies:   SNICInterface mbed-rtos mbed

Fork of SNIC-xively-jumpstart-demo by muRata

app_board_io.cpp

Committer:
Ilya Dmitrichenko
Date:
2013-10-14
Revision:
9:c5dc85d192e2
Parent:
7:0eff5db44b8b
Child:
10:86ffba646df1

File content as of revision 9:c5dc85d192e2:

#include "app_board_io.h"

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