slave

Dependencies:   mbedtls-slave-prot-prod

Dependents:   _Prototipo_Produccion _Prototipo_Produccion

Files at this revision

API Documentation at this revision

Comitter:
pabloandres2906
Date:
Mon Jul 22 22:02:09 2019 +0000
Parent:
1:016d66eb147e
Commit message:
Programa Slave

Changed in this revision

Slave.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Slave.cpp	Tue Jun 04 19:50:28 2019 +0000
+++ b/Slave.cpp	Mon Jul 22 22:02:09 2019 +0000
@@ -293,9 +293,9 @@
 
 void SLAVE::Awake()
 {
-    _AWAKE=1;
+    _AWAKE=1;                      //despierta al esclavo con un flanco positivo
     wait_us(50);
-    _AWAKE=0;
+    _AWAKE=0;                      //se vuelve a poner en cero para que el proximo AWAKE=1 sea un flanco positivo
 }
 
 void SLAVE::Sleep()