Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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