Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Question about Solenoid and default code (http://www.chiefdelphi.com/forums/showthread.php?t=42317)

waialua359 20-01-2006 23:13

Question about Solenoid and default code
 
pneumatic system:
air pump-Is it relay #8 and digital in/out #18?
double solenoid-Is it any relay?

Sscamatt 20-01-2006 23:15

Re: Which default pins for the following??
 
You can connect them to any number you would like and set it accordingly in the code. That's just the default.

waialua359 21-01-2006 01:27

Re: Which default pins for the following??
 
I know this is the wrong topic but how? I checked the code and cant see where?

Alan Anderson 21-01-2006 17:07

Re: Which default pins for the following??
 
Quote:

Originally Posted by waialua359
I know this is the wrong topic but how? I checked the code and cant see where?

In the (1-04-2006) FrcCode project, the user_routines.c file has the following line in the Default_Routine() function:
Code:

  relay8_fwd = !rc_dig_in18;  /* Power pump only if pressure switch is off. */
It's easily overlooked in the midst of all the other relay and pwm control code.

waialua359 21-01-2006 18:21

Re: Which default pins for the following??
 
Thanks,
We are like rookies again since we have a totally new group of students and engineers. Our veteran mentors are officially "retired," and we already asked them "too" many questions.

Aloha!! :)


All times are GMT -5. The time now is 20:24.

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