Go to Post What's this about a robot that they speak of? Are we supposed to build one???? - ryan_f [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 01-02-2007, 09:05
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Pneumatic Pressure Switch for EasyC

Have you tried the online window to see if you can fire your relays there?

Code:
while ( 1 )
      {
            OIToRelay ( 1 , 1 , 2 , 1 ) ;  //Relay Port 2 FWD
            OIToRelay ( 1 , 2 , 2 , 2 ) ;  //Relay Port 2 REV
      }
This will map the thumb and trigger to forward and reverse of the relay on port 1.
I have attached a precompiled program with the pressure monitoring function.
Plug the compressor relay into Relay Port 1,
Plug a Spare Relay into Port 2,
Plug the pressure switch into I/O port 7.
Joystick into port 1 on the OI
Attached Files
File Type: zip pressure.zip (13.4 KB, 41 views)
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni

Last edited by Kingofl337 : 01-02-2007 at 10:20.
 


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
Urgent need for Nason pressure switch!! PLEASE HELP! haverfordfords Pneumatics 12 18-02-2005 02:04
Pneumatic pressure switch M. Hicken Programming 9 29-01-2005 23:35
spike for pressure switch? Rob Colatutto Rules/Strategy 4 23-02-2003 15:42
pressure switch Michael Long Pneumatics 1 11-02-2003 11:21
Error found in programming for the pump and pressure switch sjharobotics Programming 4 06-02-2002 17:46


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

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