Shop OBEX P1 Docs P2 Docs Learn Events
BS2 interfaced to a PAK-XI need help — Parallax Forums

BS2 interfaced to a PAK-XI need help

HueyHuey Posts: 23
edited 2008-03-08 01:43 in BASIC Stamp
Having trouble with the code sent with this PS/2 coprocessor.

I am only getting '**Timed Out**' from the debug screen
out of the 1000 or so samples that i collected, there were about 3 packets that got processed.
no errors, just bad communication.

So my real question is how can I clean it up.

Here is the website that I am using as a reference.

Using the PAK-XI
^^^^^^^^^^

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Huey


Double Bachelor of Science
CPET - Computer Engineering Technologies
CIS - Computer Information Systems
MSU-Northern
Chair of MSU-Northern IEEE Student Branch

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-03-08 01:43
    Try just
    SEROUT OPIN,BAUD,[noparse][[/noparse]GETPKT]SERIN IPIN\FPIN,BAUD,1000,timeout,[noparse][[/noparse]XRAW.HIGHBYTE, XRAW.LOWBYTE, YRAW.HIGHBYTE, YRAW.LOWBYTE, TB2]DEBUG "x=", SDEC W4, "  y=", SDEC W5, " status=", HEX TB2, CR<!--mstheme-->
    

    and see what you get.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.