Go to Post Maybe FIRST made these bumper rules so IRI would have something to blow off come July. - Koko Ed [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2003, 20:05
Gusman1188 Gusman1188 is offline
Registered User
FRC #0870
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1930
Location: S
Posts: 43
Gusman1188 will become famous soon enoughGusman1188 will become famous soon enough
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
__________________
Team R.I.C.E. 870

2006 SBPLI Regional Winner
2006 SBPLI Imagery Award
2005 SBPLI Regional Winner
2004 SBPLI Xerox Creativity
2003 SBPLI Regional Winner
2003 CT J&J Sportsmanship
2003 SBPLI KPC&B Entrepenuership
2002 SBPLI Rookie All-Star
  #2   Spotlight this post!  
Unread 16-02-2003, 13:12
Jankenpoe Jankenpoe is offline
Registered User
#1070
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 3
Jankenpoe is an unknown quantity at this point
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   Spotlight this post!  
Unread 16-02-2003, 23:32
ChrisA's Avatar
ChrisA ChrisA is offline
Registered User
#0857 (Superior Roboworks)
Team Role: College Student
 
Join Date: Feb 2002
Location: Michigan Tech
Posts: 157
ChrisA is on a distinguished road
Send a message via AIM to ChrisA
Quote:
Originally posted by Gusman1188
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'm not exactly sure what you are asking here.... maybe you could elaborate.
__________________
Programmer
----------------
Team#857
Superior Roboworks

WildStang Alum
  #4   Spotlight this post!  
Unread 17-02-2003, 10:22
Gusman1188 Gusman1188 is offline
Registered User
FRC #0870
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1930
Location: S
Posts: 43
Gusman1188 will become famous soon enoughGusman1188 will become famous soon enough
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
__________________
Team R.I.C.E. 870

2006 SBPLI Regional Winner
2006 SBPLI Imagery Award
2005 SBPLI Regional Winner
2004 SBPLI Xerox Creativity
2003 SBPLI Regional Winner
2003 CT J&J Sportsmanship
2003 SBPLI KPC&B Entrepenuership
2002 SBPLI Rookie All-Star

Last edited by Brandon Martus : 17-02-2003 at 11:41.
  #5   Spotlight this post!  
Unread 17-02-2003, 11:20
boostaddict boostaddict is offline
Registered User
#0069
 
Join Date: Feb 2003
Location: Quincy, MA
Posts: 8
boostaddict is an unknown quantity at this point
you need to change the serout... ie
Serout USERCPU, OUTBAUD, [255,255,leftdrive,relayA,rightdrive,relayB,leftdri ve,rightdrive... hope this helps...
  #6   Spotlight this post!  
Unread 17-02-2003, 11:23
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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.
Closed Thread


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
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


All times are GMT -5. The time now is 04:29.

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