|
Re: [FTC]: RobotC Issue
1. Verify that the settings in the ROBOTC "Motors and Sensors Setup" match the robot. A mismatch causes a similar response on the NXT display.
2. The "#pragma config (Servo, servo1, blocker,. . .)" statements should look like: "#pragma config(Servo, srvo_S2_C1_1, blocker, . . ." Using the ROBOTC "Motors and Sensors Setup" referenced in item #1 above should correct this problem.
3. The following text is missing [remove the " marks at the beginning and the end]:
"//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//"
The statement should directly follow the last "#pragma config(. . ." statement.
This text was required with the version of ROBOTC used last season. I assume it is also true for the current version of ROBOTC.
4. There could be more issues, however, these items jumped out during a quick review of the code.
Last edited by Michael Coleman : 10-04-2010 at 22:34.
|