Blinky test

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
fabio_gatti
Date:
Sun Aug 05 11:55:48 2018 +0200
Parent:
66:5533276e17c4
Commit message:
Aggiunto set esplicito porta seriale

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5533276e17c4 -r 2342285b2af8 main.cpp
--- a/main.cpp	Wed Jul 18 22:27:24 2018 +0000
+++ b/main.cpp	Sun Aug 05 11:55:48 2018 +0200
@@ -6,6 +6,7 @@
 // main() runs in its own thread in the OS
 int main() {
     while (true) {
+		pc.baud(115200);
         pc.printf("Inizio attesa ON\n");
         wait(1.2); // attesa 1200 ms
         pc.printf("Accensione LED\n");