![](/media/cache/group/Murata_Logo_w600xh600_350dpi.png.50x50_q85.png)
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
00001 #include "app_board_io.h" 00002 #include "C12832.h" 00003 00004 extern C12832 lcd; 00005 00006 extern "C" void lcd_printf( const char* fmt, ... ) 00007 { 00008 char buffer[ 64 ]; 00009 00010 va_list ap; 00011 va_start( ap, fmt ); 00012 vsnprintf( buffer, 64, fmt, ap ); 00013 va_end( ap ); 00014 00015 lcd.cls(); 00016 lcd.locate( 0, 3 ); 00017 lcd.printf( buffer ); 00018 //wait( 1.0 ); 00019 }
Generated on Tue Jul 19 2022 11:25:02 by
![doxygen](doxygen.png)