Kiyoshi Hayakawa
/
app-board-LCD_t
chage a lib name
Fork of app-board-LCD by
Diff: main.cpp
- Revision:
- 3:37aea06abce5
- Parent:
- 2:a87e255a8f3a
diff -r a87e255a8f3a -r 37aea06abce5 main.cpp --- a/main.cpp Fri Oct 26 10:49:28 2012 +0000 +++ b/main.cpp Mon Sep 30 00:50:46 2013 +0000 @@ -6,13 +6,17 @@ int main() { int j=0; + float a; + + a= rand(); lcd.cls(); lcd.locate(0,3); lcd.printf("mbed application board!"); while(true) { // this is the third thread + a= rand()/1000000; lcd.locate(0,15); - lcd.printf("Counting : %d",j); + lcd.printf("Counting : %d %.2f\n",j,a); j++; wait(1.0); }