I just recieved a vexnet kit and have installed the hardware on the microcontroller. I've downloaded both the IFI Master Firmware V8 and the RobotC vex firmware.

I opened a competition template file and added

motor[port1]=vexRT[Ch3]; motor[port2]=vexRT[Ch2];

under the section task usercontrol(). I complied and downloaded the program sucessfully but nothing happens. The VEXnet lights both say the robot and the VEXnet signal is okay but I am not able to control the robot at all.

When I just create a new file and download the following instead, it works.

Is there a reason why the competition template.c file must be saved in the template folder? I didn't notice this before so I pasted it on my desktop and it still seemed to work. The include file however, I saved in the Includes folder.

Thu Oct 22, 2009 3:05 pm

Jon_T

Rookie

Joined: Fri Oct 09, 2009 9:21 amPosts: 28

Re: Robot C program does not run with VEXNET (HELP!)

I think it's so you overwrite the old version and can find it in the menu. It doesn't have to be there to work.

Who is online

Users browsing this forum: No registered users and 2 guests

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