View Single Post
  #2   Spotlight this post!  
Unread 10-02-2005, 20:49
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Re: Coding Problems?

Quote:
Originally Posted by lasoaaro
Hello All FIRST Teams who read this.

My question goes out to the programmers. I was wondering if anyone knew a line of code that we could use to shut our compressor off once the pressure on the pressure guage reached 115psi and turned it back on if it dropped to around 30psi. our mapping is as follows:

digital_io_out17 /Compressor/
digital_io_out18 /Pressure Guage/


If someoue could help us that would be great!

Thanks alot guys

//~!AaRoN!~
]

I presume you mean the digital pressure switch? If you are, this code is really obvious and I'm sure you'll figure it out if you just think about it. I'll give you a hint: if
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen