View unanswered posts | View active topics It is currently Fri Oct 30, 2020 6:48 am

Reply to topic  [ 3 posts ] 
Author Message

Joined: Wed Jul 18, 2012 11:17 am
Posts: 1
Post Help
I am using robotC 3.0 with the VEx PIC system. Here is my code:

task main()
motor[port2] = vexRT[Ch3Xmtr2];
motor[port3] = vexRT[Ch3Xmtr2];

I don't get any error messages and it downloads fine but when I run it the motors don't move. Help!

Wed Jul 18, 2012 2:24 pm
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
Post Re: Help
I have a couple of questions, are you trying to do remote control or autonomous? Are the crystals the same set (assuming you are using the older joystick controller and not the new one) and plugged in properly (with that code, they should be in the RX2 port of the PIC).

Make sure the battery is plugged in and both the PIC and the Joystick Controller are turned on and are communicating with one another. If you can give us your setup (which controller you are using, what is plugged into which, etc) it will help us to help you.

Check out our Blog! And our Facebook page!
Need help? Take a look at our updated help documentation and the ROBOTC Forums.

Thu Jul 19, 2012 11:18 am
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 409
Post Re: Help
Generally, your yellow receiver should be plugged into the RX1 port ont he PIC, and you should use the keywords "Ch2" and "Ch3", rather than the ones that end in "Xmtr2" to reference the "second transmitter".

Jesse Flot
CMU Robotics Academy
ROBOTC Support

Mon Oct 01, 2012 3:00 pm
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.