Tomas Flores
/
bluetooth
EEQWRQEWF
Diff: main.cpp
- Revision:
- 0:c58c860f51f3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Sep 27 11:41:12 2022 +0000 @@ -0,0 +1,26 @@ +#include "mbed.h" + +#include "bluetooth.h" + + + +// ANDA JOYA 22/9 + + +int main(void) +{ + // Inicializaciones + pc.baud(9600); + bt.baud(9600); + + pc.printf("Conectado a la PC \n"); + memset(datos,0,100); + while(1) + { + if(bt.readable()) + { + bluetooth_RX(); + //pc.printf("%s",datos); + } + } +} \ No newline at end of file