|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Basic Programmer. What am I doing wrong?
Hey guys! Thanks! I'm using a friend accounts but i'm not sure what I am doing wrong. I have programmed all the buttons and the throttle to control their motors and it all seems right. But when we ran the code last Monday, only drive motors turned. All the other motors ran on baije jaguars. Could that be it? I know the PWM's are right and the jaguars do have power and flash yellow. What is wrong?
Thanks in advanced! http://i.imgur.com/36mr4Gw.png?1 |
|
#2
|
|||||
|
|||||
|
Re: Basic Programmer. What am I doing wrong?
Your code seems fine.
Yellow flashing on the Jaguars while the robot is enabled means they aren't receiving a PWM signal. Even if your code logic wasn't correct, the Open statements for PWMs 7-10 would give you solid yellow Jaguar lights (while Enabled) if the control wiring was correct. The problem can be split into code vs hardware by using the Test mode on the Driver Station and the Test tab on the Dashboard. The default Dashboard gives us control over each individual motor, while bypassing all our custom code except for the Device Opens. Some suspects are:
Last edited by Mark McLeod : 23-02-2013 at 12:29. |
|
#3
|
||||
|
||||
|
Re: Basic Programmer. What am I doing wrong?
Don't forget the PWM cable itself! We've had issues this year with faulty PWM cables, particularly splitter's.
|
|
#4
|
||||
|
||||
|
Re: Basic Programmer. What am I doing wrong?
This year we've had like 17 thousand problems with PWM
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|