HARSHA B.M
/
Wizwiki_w7500_reciver
W7500 as a Receiver
Diff: main.cpp
- Revision:
- 0:9d2e7220cfeb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Jun 07 04:34:30 2018 +0000 @@ -0,0 +1,25 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + + +Serial pc(USBTX, USBRX); +//void baud(int baudrate) +//{ + Serial a(D1,D0); + // a.baud(baudrate); +//} + +int main() { + char c; + // baud(9600); +while(1) +{ + + c = a.getc(); + //pc.printf("%c",c); + //c = pc.getc(); + pc.printf("%d",c); + //pc.printf("hello\n"); +} +}