View Single Post
  #8   Spotlight this post!  
Unread 31-08-2010, 19:22
Rangel's Avatar
Rangel Rangel is offline
John Rangel
FRC #0842 (Falcon Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Phoenix, AZ
Posts: 740
Rangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond repute
Re: How to work with pneumatics

Quote:
Originally Posted by Radical Pi View Post
Code:
Compressor *compressor;

Contructor() {
...
compressor = new Compressor(PRESSURE_SWITCH_CHANNEL, RELAY_CHANNEL);
compressor->Start();
...
}
replace PRESSURE_SWITCH_CHANNEL and RELAY_CHANNEL of course
How do we put this piece of code on our code. We just have the simple template.
__________________
2012 Dean's List Winner
2011-2014 Arizona Regional Winners
2016 Las Vegas Regional Winner
2014-? Mentor


Reply With Quote