Shop OBEX P1 Docs P2 Docs Learn Events
in need of prop comm help — Parallax Forums

in need of prop comm help

seadog13seadog13 Posts: 9
edited 2008-12-15 02:44 in Propeller 1
hey all, I'm pretty new to the prop, and trying to link two props together using I/O's.

I saw in another post to the two props on different I/O's. I am getting communication between the two, but I am getting

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-12-15 02:44
    "debug.str(serial.rx)" won't work. "serial.rx" returns the actual character received from the serial port. "debug.str" expects the address of a string of characters terminated by a zero byte. What you want to use is "debug.tx(serial.rx)".

    Your transmit program sends 88, 1, 2, 3, 4. Do keep in mind that these may not display as you expect on the receive end. They're control characters (except for the 88) and what you see will depend on your debug terminal program.

    Post Edited (Mike Green) : 12/15/2008 2:50:36 AM GMT
Sign In or Register to comment.