Shop OBEX P1 Docs P2 Docs Learn Events
BASIC Stamp, Infrared Sensor, PLX-DAQ — Parallax Forums

BASIC Stamp, Infrared Sensor, PLX-DAQ

HyunHyun Posts: 8
edited 2008-02-15 18:07 in BASIC Stamp
I've been building an IR beam break sensor using BASIC Stamp. The
system works fine for the Plot Lite program, but I am having a hard
time using PLX-DAQ as to what command to use. Here's what I use for
Plot Lite:

DO
HIGH 2
PAUSE 125
RCTIME 2, 1, time
DEBUG DEC5 time, CR
LOOP

And the input is hooked in Vss (third place from the right) and the output(?) is hooked to P2 on the board.
So, to my understanding, all i have to change is the DEBUG part. I was
told this command DEBUG "DATA, TIME,", Dec Val 1,","Dec Val2, CR but
it doesnt seem to work. Also Im not sure what to put down for "Val 1"
since it keeps saying it's invalid or something. Please let me know
what to do. If you can tell me the exact command to put in, I'll worship you forever. I appreciate your help!

Thanks,

HJ

Comments

Sign In or Register to comment.