mode3

Dependencies:   C12832_lcd EthernetInterface LM75B MMA7660 libxively mbed-rtos mbed

Fork of xively-jumpstart-demo_new by Bhakti Kulkarni

app_board_io.cpp

Committer:
zaincbs
Date:
2014-06-10
Revision:
15:53f65089126b
Parent:
11:bdf601a405fc

File content as of revision 15:53f65089126b:

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