mirror of
https://github.com/tebl/RC6502-Apple-1-Replica.git
synced 2024-12-21 21:29:19 +00:00
Added brackets around each byte received in debug 5.
This commit is contained in:
parent
a738a248c7
commit
1907bbab21
@ -162,11 +162,13 @@ void serial_transmit() {
|
||||
}
|
||||
|
||||
char send_ascii(char c) {
|
||||
if (DEBUG >= 5) Serial.print("[");
|
||||
switch (c) {
|
||||
case 0x0d: Serial.println(); /* Replace CR with LF */
|
||||
default:
|
||||
Serial.print(c);
|
||||
}
|
||||
if (DEBUG >= 5) Serial.print("]");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
Loading…
Reference in New Issue
Block a user