MCPcopy Create free account
hub / github.com/Seeed-Studio/Seeed_Arduino_CAN / serialEventFunc

Method serialEventFunc

src/can-serial.cpp:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void Can232::serialEventFunc() {
130 while (Serial.available()) {
131 char inChar = (char)Serial.read();
132 inputString += inChar;
133 if (inChar == LW232_CR) {
134 stringComplete = true;
135 }
136 }
137}
138
139INT8U Can232::exec() {
140 lw232LastErr = parseAndRunCommand();

Callers 1

serialEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected