Skip to content

Commit

Permalink
Addition to solution for arduino pro micro
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRo0T authored and autowp committed Nov 11, 2016
1 parent f08c9a0 commit 6f737c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/usb_cdc/usb_cdc/usb_cdc.ino
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ void loop() {
if (digitalRead(INT_PIN) == LOW) {
canHacker->processInterrupt();
}

// uncomment that lines for Leonardo, Pro Micro or Esplora
// if (Serial.available()) {
// lineReader->process();
// }
}

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

0 comments on commit 6f737c3

Please sign in to comment.