
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
Wiki and our
Forums.I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe? ~ Carly Rae Jepsen parody