Here is the error message we now get. **Error**:Undefined variable 'btn6uXmtr2'. 'short' assumed.

Any help would be great.

Mon May 23, 2011 6:36 pm

RoboDesigners

Novice

Joined: Sat Jul 10, 2010 3:06 pmPosts: 86Location: Roanoke, VA

Re: Pairing 2 Vexnet Joysticks using RobotC 2.31

Quote:

**Error**:Undefined variable 'btn6uXmtr2'. 'short' assumed.

This error typically means the programmer misspelled something (or, which may be this case, ROBOTC changed the syntax when updating). The way to reference the buttons for the 2nd joystick has the b and u capitalized. (i.e. vexRT[Btn6UXmtr2])

Andrew Thanks. That took away the "yellow" Spelling errors on the teacher station but we still get the same error on the student stations. Could there be a setting that needs to be changed? It looks like we have the correct code.

Andy

Tue May 24, 2011 11:19 am

RoboDesigners

Novice

Joined: Sat Jul 10, 2010 3:06 pmPosts: 86Location: Roanoke, VA

Re: Pairing 2 Vexnet Joysticks using RobotC 2.31

amcclure wrote:

Could there be a setting that needs to be changed? It looks like we have the correct code.

On the "student" computers (the ones that still show the errors), make sure that you've selected "Cortex" as the micro-controller under "Robot > Platform Type > VEX 2.0 Cortex."

Who is online

Users browsing this forum: No registered users and 1 guest

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