Next BS1 problem if..then
Archiver
Posts: 46,084
I am haveing a problem getting the program to pause during a if then
statment:
START
if motion (motion sensor) = 0 then START
I have run it with no sensor attached and it still skips over it. I
am trying to create a loop until motion is detected and then to move
on in the code.
Brian
statment:
START
if motion (motion sensor) = 0 then START
I have run it with no sensor attached and it still skips over it. I
am trying to create a loop until motion is detected and then to move
on in the code.
Brian
Comments
below doesn't make any sense from a BS1 standpoint (I'd like to see your
SYMBOL definitions). Are you waiting for a pin to go high? If so, is
the pin pulled down (i.e., through 10K)?
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: brian3812003 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=e5JWn5RzpLPQBaZ8jU1r6ljER8VBj4Y33Kz0obtCYVF34OlPuZl4E4MdKWk8nPIg633g9Xr7zVDDHJ7A]brian3812003@y...[/url
Sent: Wednesday, October 15, 2003 5:21 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Next BS1 problem if..then
I am haveing a problem getting the program to pause during a if then
statment:
START
if motion (motion sensor) = 0 then START
I have run it with no sensor attached and it still skips over it. I
am trying to create a loop until motion is detected and then to move
on in the code.
Brian
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....