Skip to content

Commit 6f737c3

Browse files
TheRo0Tautowp
authored andcommitted
Addition to solution for arduino pro micro
1 parent f08c9a0 commit 6f737c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/usb_cdc/usb_cdc/usb_cdc.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,14 @@ void loop() {
2727
if (digitalRead(INT_PIN) == LOW) {
2828
canHacker->processInterrupt();
2929
}
30+
31+
// uncomment that lines for Leonardo, Pro Micro or Esplora
32+
// if (Serial.available()) {
33+
// lineReader->process();
34+
// }
3035
}
3136

37+
// serialEvent handler not supported by Leonardo, Pro Micro and Esplora
3238
void serialEvent() {
3339
lineReader->process();
3440
}

0 commit comments

Comments
 (0)