|
I just used one Message. I still don't know how to do your test program.
This will start and stop the motor as long as motion is detected in area 2.
task main()
{
while(true)
{
if (Message()== 2)
{
OnFwd(OUT_A);
Wait(100);
Off(OUT_A);
}
}
}
--
Bob Fay
rfay@we.mediaone.net
The Shop
http://www.geocities.com/Heartland/Bluffs/7900/
http://users5.50megs.com/bobfay
California
USA
"Michael Gasperi" <gasperi@alynk.com> wrote in message
news:G55uDq.JJ8@lugnet.com...
> "Bob Fay" <rfay@we.mediaone.net> wrote in message
> news:G55s5H.CHz@lugnet.com...
> > I made this work with some motor commands. Very cool! This is something I
> > hoped would be developed with Vision Command. Thanks for the posting.
>
> Were you able to make it work with NQC? If it was, I'd like to see the
> code. Despite the association with my friend Dave Baum, I don't use NQC.
>
>
>
|
|
Message is in Reply To:
13 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|