Thread: c++ pcm
View Single Post
  #2   Spotlight this post!  
Unread 21-01-2016, 20:00
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,242
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: c++ pcm

Quote:
Originally Posted by jthenderson View Post
I was wondering... does anyone know how to code the pcm in c++? how do you set the psi?


thanks for your help!
You do not set the PSI in code. It is set by the switch (about 117 psi), which you cannot change (legally). The Pressure Relief Valve can, and should, be set to the proper psi (around 120 to 125 psi).

You can enable and disable the compressor in code, but you cannot set the PSI.