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:
- kishino
- Date:
- 2014-07-15
- Revision:
- 22:e567f0d4b05d
- Parent:
- 11:bdf601a405fc
File content as of revision 22:e567f0d4b05d:
#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 );
}
muRata
Murata TypeYD