Send email to gmail(trigger)

Dependencies:   C12832_lcd EthernetInterface LM75B MMA7660 libxively mbed-rtos mbed

Fork of xively-jumpstart-demo by Xively Official

Committer:
xively
Date:
Fri Oct 11 12:39:08 2013 +0000
Revision:
7:0eff5db44b8b
Child:
10:86ffba646df1
Update to use latest version of libxively (in sync with git)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
xively 7:0eff5db44b8b 1 #include "app_board_io.h"
xively 7:0eff5db44b8b 2
xively 7:0eff5db44b8b 3 C12832_LCD lcd;
xively 7:0eff5db44b8b 4
xively 7:0eff5db44b8b 5 extern "C" void lcd_printf( const char* fmt, ... )
xively 7:0eff5db44b8b 6 {
xively 7:0eff5db44b8b 7 char buffer[ 64 ];
xively 7:0eff5db44b8b 8
xively 7:0eff5db44b8b 9 va_list ap;
xively 7:0eff5db44b8b 10 va_start( ap, fmt );
xively 7:0eff5db44b8b 11 vsnprintf( buffer, 64, fmt, ap );
xively 7:0eff5db44b8b 12 va_end( ap );
xively 7:0eff5db44b8b 13
xively 7:0eff5db44b8b 14 lcd.cls();
xively 7:0eff5db44b8b 15 lcd.locate( 0, 3 );
xively 7:0eff5db44b8b 16 lcd.printf( buffer );
xively 7:0eff5db44b8b 17 //wait( 1.0 );
xively 7:0eff5db44b8b 18 }