Go to Post Dean: We encourage kids to learn about science, technology.... Colbert: And does that include creation science? Dean: .... Well we teach kids to be very creative..... - Kevin Sevcik [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
  #10   Spotlight this post!  
Unread 03-02-2007, 08:12
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

The cables are all correct, we have the robot driving fine with the code that shipped on the the RC. Its only when I download a different .hex file where things change, even the one that came with the code, default.hex.

It has to be something internal because the lights on the OI for PWM1 are mapped to the x axis and not the y axis like they should be.

Also, when I open dashboard, the code that shipped on the robot is fine, any new code i can watch the values for PWM13 and PWM15 and as I push the joystick forward they both should climb to 255 and they do not, one goes to 255 and the other goes to 0. If i push right both climb to 255 and if I push left they both climb to 0. This indicates that in the program somewhere the x and y axis are getting swapped. This completely rules out any wiring or calibration issues.
 


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