set led to common anode
Dependencies: C12832_lcd EthernetInterface LM75B MMA7660 libxively mbed-rtos mbed
Fork of xively-dreamforce by
app_board_io.cpp
- Committer:
- frontispiece
- Date:
- 2013-11-14
- Revision:
- 20:4bb2758223fb
- Parent:
- 19:ca595d80895b
File content as of revision 20:4bb2758223fb:
#include "mbed.h" #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 ); }