|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Compressor Sample?
My fellows on the programming team and I are currently poking around to see if we can get the compressor working by the end of our meeting (6 est.). We looked in WindRiver for a sample project for getting the compressor functioning and right now we only have last year's programming manual to work off. Does anyone know of the location of the sample for the compressor if it exists?
Thanks much. Zuelu |
|
#2
|
||||
|
||||
|
Re: Compressor Sample?
I do not know where the sample code is, but you can simply use relay code to run the compressor.
The only compressor code you need is code to turn the relay on/off, and code to use the pressure sensor. |
|
#3
|
|||
|
|||
|
Re: Compressor Sample?
In WPILib, I believe there is a Compressor class
its constructor takes a relay channel and a digitial in channel Code:
Compressor* theCompressor; //then later theCompressor = new Compressor(1,1); theCompressor->Start(); //i think |
|
#4
|
||||
|
||||
|
Re: Compressor Sample?
Thanks a lot guys. Hopefully this will be useful for other teams.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sample Code | Belly | Programming | 1 | 01-21-2010 02:34 PM |
| Sample C/C++ Programs | saudette | C/C++ | 2 | 01-15-2009 10:54 AM |
| Sample Code | Japper | Programming | 2 | 12-01-2008 10:36 PM |
| Running just the compressor (was: free compressor) | sciguy125 | Pneumatics | 15 | 02-06-2006 06:23 PM |
| Sample kickoff | Cuog | General Forum | 0 | 12-19-2005 12:25 PM |