Go to Post So now that the Championship is over, how long 'till next kick off? ;) :p - Michelle Celio [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-02-2010, 15:08
programmr's Avatar
programmr programmr is offline
Registered User
AKA: Face
FRC #0522
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Staten Island, NY
Posts: 83
programmr is a jewel in the roughprogrammr is a jewel in the roughprogrammr is a jewel in the rough
Send a message via AIM to programmr
Programming Compressor C++

Hello, I am having problems trying to get the compressor to work. I am using windriver, the compressor is connected to relay 2 and the pressure switch is connected to digital i/o 1. Can you please help us? Thank you. Any help would be greatly appreciated!
__________________
"I would love to change the world but no one will give me the source code"
  #2   Spotlight this post!  
Unread 22-02-2010, 15:32
BenThompson BenThompson is offline
Registered User
FRC #0237 (Sie-H20-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Watertown, CT
Posts: 18
BenThompson is on a distinguished road
Send a message via AIM to BenThompson
Re: Programming Compressor C++

All you need to do is instantiate a compressor object with the pressure switch and compressor ports, then start it. For example, you might do:

Compressor *compressor;
compressor = new Compressor(1,2);
compressor->Start();
  #3   Spotlight this post!  
Unread 22-02-2010, 15:54
programmr's Avatar
programmr programmr is offline
Registered User
AKA: Face
FRC #0522
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Staten Island, NY
Posts: 83
programmr is a jewel in the roughprogrammr is a jewel in the roughprogrammr is a jewel in the rough
Send a message via AIM to programmr
Re: Programming Compressor C++

that doesnt seem to work... do you know what might be the problem?
__________________
"I would love to change the world but no one will give me the source code"
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compressor Sharmandra Pneumatics 12 11-02-2010 17:17
Programming Compressor warbots620 Pneumatics 6 02-02-2009 19:37
Running just the compressor (was: free compressor) sciguy125 Pneumatics 15 06-02-2006 18:23
compressor maxgebhardt Pneumatics 14 17-01-2004 08:22
programming the compressor archiver 2001 4 23-06-2002 23:19


All times are GMT -5. The time now is 23:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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