Demo application of SNICInterface library for Murata TypeYD, which reports sensor data periodically to Xively cloud server . Hardware platform: mbed application board (https://mbed.org/cookbook/mbed-application-board), mbed LPC1768 (https://mbed.org/platforms/mbed-LPC1768/) and TypeYD.

Dependencies:   C12832 LM75B MMA7660 SNICInterface libxively mbed-rtos mbed

app_board_io.cpp

Committer:
errordeveloper
Date:
2013-10-14
Revision:
11:bdf601a405fc
Parent:
10:86ffba646df1
Child:
22:e567f0d4b05d

File content as of revision 11:bdf601a405fc:

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