Go to Post Hype levels are reaching critical levels... - wjd13 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 03-02-2007, 02:24
kbregler kbregler is offline
Registered User
FRC #1791
 
Join Date: Feb 2007
Location: Clayton, NJ
Posts: 7
kbregler is an unknown quantity at this point
Re: PWM Problem with Default Code

Guys, thanks for the responses.

It is the controller that first gave us.

If I leave the code in that came on it from the factory the lights for PWM1 work correctly, red and green at neutral, green full forward, red full reverse. One joystice mode useing PWM 13 or 14 and 15 or 16 work correctly as well.

If I compile the code labeled as FrcCode_2007_8722 or last years code, PWM1 operates correctly, but the lights now map to the X axis, all the way left gives me green and all the way right gives me red. I wasnt worried about this, I actually corrected this with code, but when we tried using 1 joystick with PWM 13 and 15 we saw the same issue as the lights, all the way left seemed to be all the way forward and all the way right seemed to be all the way reverse.

I know the higher PWMs are calculated differently, do the light functions and the higher PWM's use a similar function call?

just to reiterate, PWM1 operates correctly, regardless of the lights, and the dashboard is correct. 1 joystick mode even shows incorrectly in the dashboard program.

Thanks again,

Kevin
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Kevin's 2007 default code bruss6 Programming 8 19-01-2007 15:42
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Default code problem capenga Programming 8 01-02-2005 08:09
problem with the default code MarkVH Programming 7 28-01-2005 00:04
Problem with FRC Default code AsimC Programming 2 11-01-2004 19:22


All times are GMT -5. The time now is 23:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi