Page 1 of 1

Author:  DSRobotics [ Wed Jul 18, 2012 2:24 pm ]
Post subject:  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!

Author:  JohnWatson [ Thu Jul 19, 2012 11:18 am ]
Post subject:  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.

Author:  jbflot [ Mon Oct 01, 2012 3:00 pm ]
Post subject:  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".

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group