PDA

View Full Version : BASIC Stamp 2: SEROUT (Tpin = 16) echos SERIN (Rpin = 16)



StampyFox
11-09-2006, 10:33 PM
Hello,

just preparing a lecture and have the following problem:
PC sends 't' to BASIC Stamp
BASIC Stamp should send 16 bit value in HEX back (e. g. ABCD)
but I get
tABCD
that means I get an echo of SERIN at SEROUT?

I can't expain that behaviour. Testet with an app and the old
WIN 3.11 Terminal-Program (here local echo switched off, really!!).
Any comments?

Thanks and kind regards
StampyFox

Mike Green
11-09-2006, 10:37 PM
This is the way the debug (pin=16) port is designed, primarily because of the downloading protocol. It's just one of those things that you have to compensate for. It does not occur when using SERIN/SEROUT on any other I/O pin.

StampyFox
11-09-2006, 10:51 PM
Hello Mike,

many thanks for your fast answer. I have only a printed version of Manual 2.0c,
maybe I have missed that hint somewhere. And as you know always in a great
hurry...


Greetings
Udo