Re: Values with line follower?
A quick example of the problematic code is below:
The issue with this is that the SensorValue() command should contain the name of the sensor inside of the SensorValue() command's parentheses. You will also need to use the SensorValue command each time you would like to read a sensor (even if it is the same sensor):
Try updating the code as such and see if the syntax errors clear themselves out.
Check out our Blog
! And our Facebook page
Need help? Take a look at our updated help documentation
and the ROBOTC Forums.