How do I change the PWM Lables so that
PY_1=PWM1
PY_2=PWM2
PY_1=PWM3
PY_2=PWM4
Its currently setup too
PY_1=PWM1 and PWM13
PY_2=PWM2 and PWM 14
How do I change the PWM Lables so that
PY_1=PWM1
PY_2=PWM2
PY_1=PWM3
PY_2=PWM4
Its currently setup too
PY_1=PWM1 and PWM13
PY_2=PWM2 and PWM 14
I think it’s related to the SEROUT command - the placement of the PWM variables in the output; watch how you are using the Drive_R and Drive_L variables.
Originally posted by Gusman1188
**How do I change the PWM Lables so that
PY_1=PWM1
PY_2=PWM2
PY_1=PWM3
PY_2=PWM4Its currently setup too
PY_1=PWM1 and PWM13
PY_2=PWM2 and PWM 14**
I’m not exactly sure what you are asking here… maybe you could elaborate.
OK, heres what I mean, We have 4 motors and and they are on PWM’s 1, 2, 3, and 4.(1 and 3 are Left Drive and 2 and 4 are right Drive. The Program that I have (another one of our programmers made but I cant contact) drives 1 and 13 as the left drive and 2 and 14 as the right drive. how do I change it to the right way?
Any help would be great.
-Chris
you need to change the serout… ie
Serout USERCPU, OUTBAUD, 255,255,leftdrive,relayA,rightdrive,relayB,leftdrive,rightdrive… hope this helps…
The easiest way is to move the PWM cable to 13 and 14.
This is what I would recommend with 28 hours left and no programmer in sight.