Re: line tracking/sensing help please?
I'm guessing the errors you are seeing are as follows?
**Error**:Undefined variable 'motorB'. 'short' assumed.
**Error**:Undefined variable 'motorC'. 'short' assumed.
If so, you need to check your Platform Type (from the Robot menu) and make sure it is set to LEGO Mindstorms NXT. If the platform type is set to IFI/VEX or Arduino, any NXT-specific commands (such as the motorB and motorC commands) will generate errors. If these are not the errors you are seeing, please post the ones that are being generated for you as well as which lines they are appearing on and we will be able to help debug the program more thoroughly.
You may also want to go through our video trainer curriculum as it covers the core coding principles and can help you debug any other errors you might run into. Plus, it's a great way to learn ROBOTC top to bottom: http://www.education.rec.ri.cmu.edu/pre ... index.html
Check out our Blog
! And our Facebook page
Need help? Take a look at our updated help documentation
and the ROBOTC Forums.