Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 09768aa2b5
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.352 kb
//press m on the serial port switch the mode, used for debugging
#ifdef USE_SERIAL_DEBUG
void serialEvent() {
while (Serial.available()) {
// get the new byte:
char inChar = (char)Serial.read();
// Serial.println(inChar, HEX);
if (inChar == 0x6d) { //if user pressed 'M'
increaseMode();
Serial.println();
}
}
}
#endif
Jump to Line
Something went wrong with that request. Please try again.