View unanswered posts | View active topics It is currently Tue Sep 22, 2020 6:02 pm

Reply to topic  [ 3 posts ] 
Need Help!!! 
Author Message

Joined: Mon Aug 06, 2012 10:09 pm
Posts: 1
Post 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

Mon Aug 06, 2012 10:11 pm
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: Need Help!!!
That is a NXC command. Here's how you'd do it in RobotC.

while(SensorValue(SensorPort) == 0);

A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.

Mon Aug 06, 2012 10:51 pm
Profile WWW
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Need Help!!!
It's a valid "Natural Language" command. Are you sure the platform is set correctly?
Verify using the image below.
2012-08-07_06-34-23.png [ 21.35 KiB | Viewed 6125 times ]


| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Tue Aug 07, 2012 12:34 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.