Xively Jumpstart Demo with WiFly module
Dependencies: C12832_lcd LM75B MMA7660 WiflyInterface libxively mbed-rtos mbed
Deprecated
This is an mbed 2 example. For an mbed-os WiFi example, see:
[Repository '/teams/mbed-os-examples/code/mbed-os-example-wifi/docs/tip/' not found]
Diff: app_board_io.cpp
- Revision:
- 7:0eff5db44b8b
- Child:
- 10:86ffba646df1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app_board_io.cpp Fri Oct 11 12:39:08 2013 +0000 @@ -0,0 +1,18 @@ +#include "app_board_io.h" + +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 ); +} \ No newline at end of file