^E (ESP32)

This commit is contained in:
folkert van heusden 2022-03-17 21:54:24 +01:00
parent 22b48083ce
commit bca72bf311

View file

@ -106,8 +106,13 @@ void loop() {
if (Serial.available()) {
char c = Serial.read();
if (c > 0 && c < 127)
if (c == 5) {
Serial.print(F("Instructions per second: "));
Serial.println(icount * 1000.0 / (millis() - start_ts));
}
else if (c > 0 && c < 127) {
tty_->sendChar(c);
}
}
}