|
Re: Vex Programming help!
Yeah it works now. I installed c18 2.40 with MPLAB 7.0
I'm trying to call Limit_Switch_Min & Max but it gives me an syntax error
which says "syntax error"
in the header file i defined BASE_DR pwm01=pwm02
Limit_Switch_Min(BASE_1_LIMIT,&BASE_DR);
but if i write it this way it doesn't
Limit_Switch_Min(BASE_1_LIMIT,&pwm01);
can anynow tell me what is wrong with the way i wrote it?
Limit_Switch_Min(BASE_1_LIMIT,&BASE_DR);
For the top part i suppose
#define PWM_in1 rxdata.oi_analog01 would be stick 1Y
#define PWM_in1 rxdata.oi_analog05 would be stick 1X
|