You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -222,6 +244,14 @@ int main(int argc, char** argv) {
222
244
if(Serial.isDeviceOpen()) {
223
245
// do something
224
246
247
+
int av = Serial.available();
248
+
if (av) {
249
+
uint8_t buf[256];
250
+
Serial.readBytes(buf, 255);
251
+
buf[255] = '\0';
252
+
printf("from thingy: %s", (char*)buf);
253
+
}
254
+
225
255
// TBD
226
256
}
227
257
@@ -252,8 +282,27 @@ int main(int argc, char** argv) {
252
282
// T <filter_thresh:float> - Entries will be probabilistically skipped if there is high latency. This sets the threshold (in seconds) at which 100% will be skipped.
0 commit comments