Sd Card

Dependencies:   mbed TextLCD

Files at this revision

API Documentation at this revision

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
--- 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