|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Programming
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 |
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||||
|
|||||
|
Quote:
|
|
#4
|
|||
|
|||
|
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 Last edited by Brandon Martus : 17-02-2003 at 11:41. |
|
#5
|
|||
|
|||
|
you need to change the serout... ie
Serout USERCPU, OUTBAUD, [255,255,leftdrive,relayA,rightdrive,relayB,leftdri ve,rightdrive... hope this helps... |
|
#6
|
||||||
|
||||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Compatition | Angela06 | Programming | 30 | 08-04-2005 23:12 |
| multi-bank programming problem | GregC | Programming | 3 | 14-02-2003 16:13 |
| Pneumatics electrical wiring and programming | archiver | 2001 | 1 | 23-06-2002 23:10 |
| Error found in programming for the pump and pressure switch | sjharobotics | Programming | 4 | 06-02-2002 17:46 |
| pbasic programming | punarhero | Programming | 4 | 21-01-2002 23:32 |