Red Light Work
Dependencies: EthernetInterface QEI_hw QEIx4 mbed-rtos mbed realtimeMMLib
Fork of realtimeMM_V3 by
Diff: main.cpp
- Revision:
- 2:c55e3a06e308
- Parent:
- 0:70c9f7c6844b
- Child:
- 3:32876c57fa57
--- a/main.cpp Mon Oct 02 11:20:41 2017 +0000 +++ b/main.cpp Mon Oct 02 15:25:17 2017 +0000 @@ -164,6 +164,8 @@ //ret = sock.receive(buffer, sizeof(buffer)-1); if (ret <= 0) break; buffer[ret] = '\0'; + MBed1.ProcessResponse(buffer); + printf("%d",atoi(buffer)); printf("Received %d chars from server:\r\n%s\r\n", ret, buffer); }