|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#9
|
|||
|
|||
|
Re: Automated Air Compressor code
The InitPressureSwitch function causes the timer interrupt service routine to read the pressure sensor every millisecond (probably overkill, but it was an easy place to put it). If the pressure is low the supplied relay port will be turned on, and if it's high it will be turned off.
So you only need to call the function once, and for the rest of your program, both autonomous and operator control the compressor will operate on its own. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AIR COMPRESSOR !!! | edgar_amaro | Pneumatics | 11 | 05-02-2008 00:43 |
| Air Compressor Question | Jrocklz | Pneumatics | 4 | 17-01-2008 21:36 |
| Air Compressor Wireing question | Bochek | General Forum | 7 | 11-01-2007 21:34 |
| Off robot air compressor | sanddrag | Rules/Strategy | 52 | 11-01-2007 15:11 |
| Air Compressor | geo | Technical Discussion | 4 | 06-02-2002 22:52 |