Leduc Jean-Baptiste
/
app-shield-LCD-jb-leduc
app-shield
Fork of app-shield-LCD by
Embed:
(wiki syntax)
Show/hide line numbers
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("Seconde ecoulees : "); 00013 00014 while(true) { // this is the third thread 00015 lcd.locate(0,15); 00016 lcd.printf("%d",j); 00017 j++; 00018 wait(1.0); 00019 } 00020 }
Generated on Thu Jul 14 2022 11:52:36 by 1.7.2