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