Cambio de pin de entrada digital a PA10
Dependencies: BufferedSerial PinDetect mbed
Fork of DTK-MEGAPACA_NUCLEO by
Diff: funciones_basicas.h
- Revision:
- 7:0ec9cc5b9fe0
- Parent:
- 6:e0f528571367
- Child:
- 9:04f9da6bc784
diff -r e0f528571367 -r 0ec9cc5b9fe0 funciones_basicas.h --- a/funciones_basicas.h Fri Jan 19 14:51:02 2018 +0000 +++ b/funciones_basicas.h Fri Jan 19 18:43:47 2018 +0000 @@ -86,5 +86,9 @@ x = 2; // Se recibió trama con "ACK:GTOUT" } + if (strstr(buffer, GV300_OK) != NULL) { + x = 3; // El GV300 se la pasa mandando OK + } + return(x); } \ No newline at end of file