Commit e2d1475f authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

Freerun serial emulate

parent 474be5de
......@@ -236,7 +236,11 @@ int driver_serial::receive(char *buf, int buflen,
// Continuous run
} else if (strncmp(sent, "#01CS",4)==0) {
strcpy(buf,">FF4AF1010B9500414736810DE05C1D5BF5000A");
usleep(3e3);
usleep(1/131.0*1e6);
// Continuous run
} else if (strncmp(sent, "#01CB",4)==0) {
strcpy(buf,">FF4AF1010B9500414736810DE05C1D5BF5000A");
usleep(1e6);
// Channel values
} else if (strncmp(sent, "#01A",4)==0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment