This commit is contained in:
folkert van heusden 2022-03-15 21:56:11 +01:00
parent caf3aeda6b
commit 7790086d1e

View file

@ -255,7 +255,18 @@ void setup() {
Serial.println(F("Emulation starting!")); Serial.println(F("Emulation starting!"));
} }
unsigned int icount = 0;
void loop() { void loop() {
icount++;
if (icount % 1000 == 0 && Serial.available()) {
char c = Serial.read();
if (c > 0 && c < 127)
tty_->sendChar(c);
}
if (c->step()) { if (c->step()) {
Serial.println(F("")); Serial.println(F(""));
Serial.println(F(" *** EMULATION STOPPED *** ")); Serial.println(F(" *** EMULATION STOPPED *** "));