Go to Post you know you're going to meet someone important, so you put on your robotics team shirt. - NorviewsVeteran [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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
  #3   Spotlight this post!  
Unread 10-02-2010, 11:27
ericand's Avatar
ericand ericand is offline
Registered User
AKA: Eric Anderson
FRC #3765 (Terrabots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: St. Paul, MN
Posts: 148
ericand is a jewel in the roughericand is a jewel in the roughericand is a jewel in the rough
Re: How do you code the compressor?

The C++ compressor class works well. You just need to tell it the digital I/O pin that you read the pressure switch from and which relay to turn on/off to charge the system when needed.

This class is a standard part of the WPI lib and is covered in the WPI documentation.
 


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
How long can the battery run the compressor? rsisk Pneumatics 9 10-02-2010 12:13
Compressor Code causes No Robot Code Error sircedric4 C/C++ 25 03-02-2010 10:13
Code to have speed of motors dependent on how hard you push the joystick JoJo5 Programming 15 06-02-2007 12:35
Default code and the Compressor Matthew_H Programming 16 07-02-2005 07:19
How long does it take you to load the default code? vegasmcse Robotics Education and Curriculum 10 03-11-2003 21:41


All times are GMT -5. The time now is 01:26.

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