I changed the variables to what you said but it does not compile then. It gives this error
Quote:
|
C:\Documents and Settings\Sunny Parikh\My Documents\Computer Programming\frc-code-2007-8722\FrcCode_2007_8722\user_routines_fast.c:114:Er ror [1105] symbol 'rc_dig_in_01' has not been defined
|
Besides I dont think that this is the problem. When i set my pwmxx to full forward without a if statement before it the motors did not work at all. I know for sure it is autonomous mode because of a printf statement I put in that is printing on the computer screen. The the pwm cables are plugged in correctly. I keep racking my head for a solution but i cant think of anything. Its probably something i did that was really stupid and cant figure out.