LCD Demo program for mbed application shield
Fork of app-shield-LCD by
main.cpp
00001 #include "mbed.h" 00002 #include "C12832.h" 00003 00004 // Using Arduino pin notation 00005 C12832 lcd(D11, D13, D12, D7, D10); 00006 00007 int main() 00008 { 00009 int j=0; 00010 lcd.cls(); 00011 lcd.locate(0,3); 00012 lcd.printf("mbed application shield!"); 00013 00014 while(true) { // this is the third thread 00015 lcd.locate(0,15); 00016 lcd.printf("Counting : %d",j++); 00017 wait(1.0); 00018 } 00019 }
Generated on Sun Jul 17 2022 01:31:08 by 1.7.2