ROBOTC.net forums
http://www.robotc.net/forums/

Need Help!!!
http://www.robotc.net/forums/viewtopic.php?f=14&t=4737
Page 1 of 1

Author:  Pakuranga College [ Mon Aug 06, 2012 10:11 pm ]
Post subject:  Need Help!!!

We are trying to programme our nxt robot on RobotC, and we are trying to use untillTouch but it does not like it, it says "**Error**:Undefined procedure 'untilTouch'."
Can anyone help?? thanks

Author:  NeXT-Generation [ Mon Aug 06, 2012 10:51 pm ]
Post subject:  Re: Need Help!!!

That is a NXC command. Here's how you'd do it in RobotC.

Code:
while(SensorValue(SensorPort) == 0);

Author:  mightor [ Tue Aug 07, 2012 12:34 am ]
Post subject:  Re: Need Help!!!

It's a valid "Natural Language" command. Are you sure the platform is set correctly?
Verify using the image below.
Attachment:
2012-08-07_06-34-23.png
2012-08-07_06-34-23.png [ 21.35 KiB | Viewed 4494 times ]

Regards,
Xander

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/