Go to Post Woodie Flowers would like to win the Chuck Norris award. - Andy Baker [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 30-01-2008, 15:30
Mr Monte 83 Mr Monte 83 is offline
Registered User
FRC #0321
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 1
Mr Monte 83 is an unknown quantity at this point
Programing the compressor and pressure switch in easy C

help me please, i need to know how to figure out how to program the compressor and pressure switch in easy C
  #2   Spotlight this post!  
Unread 30-01-2008, 15:39
The Lucas's Avatar
Happy Birthday! The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Programing the compressor and pressure switch in easy C

Drag InitPressureSwitch() function block into the Initialization function block. Select your pressure switch port (Digital in on RC) and the compressor relay port (relay out on RC). That function only has to be called once (by you) and will check the pressure switch every 500ms. That's all.

P.S. If you need any help at the Philly Regional, I'll be there as a Robot Inspector again. I had fun working with the Robolancers last year and I would be happy to help again.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"

Last edited by The Lucas : 30-01-2008 at 15:48. Reason: Philly
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
Question about the Pressure Switch Bomberofdoom Pneumatics 3 24-01-2008 11:00
Compressor and The Presser Switch Shomron1690 Pneumatics 1 11-02-2007 11:12
what is the pressure switch? Reaper40 Pneumatics 2 25-01-2007 18:52
[OCCRA]: Problem with the compressor, pressure switch, or Bosch relay. BrittanyV OCCRA 3 16-10-2006 15:42
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 16:55.

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