test
Dependencies: C12832_lcd LCD_fonts mbed
Fork of Christmas-LCD by
Diff: main.cpp
- Revision:
- 4:0838ffe5e350
- Parent:
- 3:48407a94ff89
- Child:
- 5:c8042f09237b
diff -r 48407a94ff89 -r 0838ffe5e350 main.cpp --- a/main.cpp Fri Dec 21 21:59:16 2012 +0000 +++ b/main.cpp Thu Dec 01 04:30:46 2016 +0000 @@ -17,17 +17,17 @@ lcd.setmode(XOR); // XOR - a second print will erase for(i = -15; i < 75; ){ lcd.print_bm(bitmSan1,i,2); - wait(0.5); + wait(0.05); lcd.copy_to_lcd(); // update lcd lcd.print_bm(bitmSan1,i,2); // erase i= i+s; lcd.print_bm(bitmSan2,i,2); // print next - wait(0.5); + wait(0.05); lcd.copy_to_lcd(); // update lcd lcd.print_bm(bitmSan2,i,2); // erase i= i+s; lcd.print_bm(bitmSan3,i,2); // print next - wait(0.5); + wait(0.05); lcd.copy_to_lcd(); // update lcd lcd.print_bm(bitmSan3,i,2); // erase i= i+s; @@ -41,7 +41,7 @@ lcd.printf("Christmas"); lcd.copy_to_lcd(); lcd.locate(5,i); - wait(0.2); + wait(0.002); lcd.printf("Happy"); lcd.locate(5,i+12); lcd.printf("Christmas");