Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   build new programming (st.louis regional) (http://www.chiefdelphi.com/forums/showthread.php?t=25808)

deltacoder1020 22-02-2004 21:44

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Astronouth7303
Yes. Use aliases.

remember, this is a team that doesn't really know the language - i'd like to give them as simple a time as possible, so if i can ask a question and get a simple answer, and in doing that save both them and myself coding, why shouldn't I?

Kevin Karan 22-02-2004 21:46

Re: build new programming (st.louis regional)
 
I dont think hes around, I emailed him over an hour ago and my PM is still unread...

deltacoder1020 22-02-2004 21:47

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Kevin Karan
I dont think hes around, I emailed him over an hour ago and my PM is still unread...

not everyone checks the forums every hour, as much as it might seem like it to you or me ;)

Astronouth7303 22-02-2004 21:48

Re: build new programming (st.louis regional)
 
I said that was me. Besides, getting aliases down would really help in the future.

I case your wondering, An alias is what we call a name we give to something, as shown here:
Code:

#define LeftMotor pwm01
That way, you can use LeftMotor in your code instead of pwm01. It makes your code more readable and reduces headache if you change the motor to pwm07.

Kevin Karan 22-02-2004 21:50

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by Astronouth7303
I said that was me. Besides, getting aliases down would really help in the future.

I case your wondering, An alias is what we call a name we give to something, as shown here:
Code:

#define LeftMotor pwm01
That way, you can use LeftMotor in your code instead of pwm01. It makes your code more readable and reduces headache if you change the motor to pwm07.

I find the headache comes from remembering what the aliases are named... I guess im still in a pbasic mindset when it comes to saving overhead space, eh :D

nick_champ_2 23-02-2004 20:52

Re: build new programming (st.louis regional)
 
Quote:

Originally Posted by deltacoder1020
nick, are the seat motors and the van motor on victors or relays?

we might put them on victors if we can get them running
right now they are ready to go but we cant figure the program out.

nick_champ_2 23-02-2004 20:55

Re: build new programming (st.louis regional)
 
the controller in port 1 right now controls the robot (forward back left and right) with the axis. we want to use the buttons to activate the motors and probably go on to using a second controller. the drill motors for our drive train are on pwm 13 and 15. i read in the program that it will let them go in forward and reverse thats why we are on those pwm's.


All times are GMT -5. The time now is 00:01.

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