Development version of xively-jumpstart-demo

Dependencies:   C12832_lcd EthernetInterface LM75B MMA7660 libxively-develop mbed-rtos mbed

Fork of xively-jumpstart-demo by Xively Official

app_board_io.cpp

Committer:
errordeveloper
Date:
2013-11-19
Revision:
14:831dffc4ae42
Parent:
11:bdf601a405fc

File content as of revision 14:831dffc4ae42:

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