Demo of using the LCD of the application board
Fork of app-board-LCD by
lcd.cpp
00001 #include "mbed.h" 00002 #include "C12832.h" 00003 00004 C12832 lcd(p5, p7, p6, p8, p11); 00005 static const float delay = 1; 00006 00007 int main() 00008 { 00009 int counter = 0; 00010 lcd.cls(); 00011 lcd.printf("hello world!"); 00012 00013 while (true) 00014 { 00015 lcd.locate(0, 15); 00016 lcd.printf("counter is: %d", ++counter); 00017 wait(delay); 00018 } 00019 }
Generated on Sun Jul 24 2022 09:24:13 by 1.7.2