Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SNICInterface mbed-rtos mbed
Fork of murataDemo by
app_board_io.cpp@7:0eff5db44b8b, 2013-10-11 (annotated)
- 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?
| User | Revision | Line number | New 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 | } |
