Programmi Esempio
/
Sd_Card
Sd Card
Revision 6:fbb45da9487c, committed 2018-12-18
- Comitter:
- gandhi1
- Date:
- Tue Dec 18 22:50:37 2018 +0000
- Parent:
- 5:d261737139c5
- Commit message:
- lcd
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d261737139c5 -r fbb45da9487c main.cpp --- a/main.cpp Sat Jun 10 13:52:19 2017 +0000 +++ b/main.cpp Tue Dec 18 22:50:37 2018 +0000 @@ -1,10 +1,3 @@ -/**************************************************** -* FAST PROTOTYPING WITH NUCLEO * -* Example Code 05: LCDdisplay * -* Author: Mauro D'Angelo * -* Organization: Perlatecnica no-profit organization * -*****************************************************/ - #include "mbed.h" #include "TextLCD.h" @@ -26,13 +19,11 @@ // Pulisce lo schermo lcd.cls(); - - // Stampa sullo schermo - for (int I=0; I<=12; I++){ - lcd.setAddress(I, 0); + // punta alla prima colonna del secondo rigo del display + lcd.setAddress(0, 0); lcd.printf("Sono"); - // punta alla prima colonna del secondo rigo del display + lcd.setAddress(0, 1); // Stampa sullo schermo