View Single Post
  #4   Spotlight this post!  
Unread 19-02-2004, 16:20
MisterX's Avatar
MisterX MisterX is offline
Alumni
AKA: Mr. X
FRC #0521
Team Role: College Student
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Around
Posts: 486
MisterX is a splendid one to beholdMisterX is a splendid one to beholdMisterX is a splendid one to beholdMisterX is a splendid one to beholdMisterX is a splendid one to beholdMisterX is a splendid one to behold
Re: line seeking help needed

Thank you both for your fast reply I will test both of those now and let you know when I get my results. THANK YOU SOOOOOOOO MUCH!!!! and best of luck to both of your teams.

Heres the code i ended up using:

Code:
if (rc_dig_in02) {
	pwm01 = 200;
	pwm02 = 200;
} else if (rc_dig_in01) {
	pwm02 = 200;
	pwm01 = 127;
} else if (rc_dig_in03) {
	pwm02 = 127;
	pwm01 = 200;
} else {
    pwm01= 127;
    pwm02= 127;
}
and it works perfectly thank you for your help

Last edited by MisterX : 19-02-2004 at 18:28.