| Sign In/My Account | View Cart |
| Article: |
Powering Up Your Home-Brewed Computer | |
| Subject: | Serial port debugging | |
| Date: | 2002-12-12 17:00:39 | |
| From: | anonymous2 | |
|
I prefer something different - read a char from the serial port, add #1, then send it back again. This way you know the char actually got processed by the CPU, and didn't just get turned around in the serial hardware somewhere. Press 'A' and see 'B' on the screen - you KNOW your hardware did it. If you press 'A' and see 'A' how do you know your hardware is working? You might have local echo turned on!
|
||