Modified version of the UKESF lab source which can be carried out with no knowledge of C
Fork of PsiSwarm-Headstart by
Diff: serial.cpp
- Revision:
- 5:f6be169e465b
- Parent:
- 3:7c0d1f581757
--- a/serial.cpp Mon Jun 20 13:35:06 2016 +0000 +++ b/serial.cpp Fri Sep 14 16:00:48 2018 +0000 @@ -966,6 +966,7 @@ send_message = 1; break; case 123: + { strcpy(command,"GET FIRMWARE H-DESC"); char byte0 = 0; char byte1 = 1; @@ -983,6 +984,7 @@ sprintf(ret_message,"%c%c",byte0,byte1); send_message = 1; break; + } case 124: strcpy(command,"GET PCB VERSION"); sprintf(ret_message,"%1.2f",pcb_version); @@ -1168,7 +1170,7 @@ } Timeout bt_message_timeout; -static float bt_message_timeout_period = 0.001; // 1 millisecond +//static float bt_message_timeout_period = 0.001; // 1 millisecond char bt_buffer[255]; int bt_buffer_index = 0;