Shop OBEX P1 Docs P2 Docs Learn Events
serial communcation character echo in the debug window — Parallax Forums

serial communcation character echo in the debug window

cindalusiacindalusia Posts: 2
edited 2006-01-31 21:13 in BASIC Stamp
Hello!

I have successfully setup serial communication on the BS2sx stamp using the dedicated serial input pin. However, the debug terminal shows the character I have input. I am not using SEROUT or another debug command. Does this echo result because I am piggybacking on the download serial cable?

Thanks!

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-01-31 21:13
    Yes. The inverter design on the BS2 module causes anything sent to it to be echoed back. This is actually used, in fact, by the editor to ensure connection reliability during downloads. When writing custom programs that use this connection for serial communication, the PC application must be aware of the echo and have the ability to filter it out -- this is usually quite simple.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
Sign In or Register to comment.