MCPcopy Create free account
hub / github.com/auralius/noodle / clear_input

Function clear_input

examples/auto-encoder/src/noodle_serial.cpp:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void clear_input() {
18 while (Serial.available()) Serial.read();
19}
20
21void print_ready() {
22 Serial.println(F("READY"));

Callers 4

setupFunction · 0.70
loopFunction · 0.70
setupFunction · 0.70
loopFunction · 0.70

Calls 2

availableMethod · 0.80
readMethod · 0.80

Tested by

no test coverage detected