Enrico Aloisi Nardi / Mbed 2 deprecated conversor_dac

Dependencies:   mbed

Revision:
8:20afab089ff8
Parent:
7:f69e1333449d
Child:
9:c9fd0beba38c
Child:
11:d3e72f8d05cd
--- a/conversor.cpp	Mon Jun 08 14:57:33 2020 +0000
+++ b/conversor.cpp	Mon Jun 08 14:59:14 2020 +0000
@@ -64,7 +64,7 @@
                 valor=leitura_an.read();
                 pc.printf("\r\t%1.3f\n",valor);    
             }
-            for (int i=8; i>0; i--) {  
+            for (int i=7; i>0; i--) {  
                 saida_digital = SEQUENCIA[i];
                 wait(0.5);
                 valor=leitura_an.read();