View Single Post
  #8   Spotlight this post!  
Unread 16-02-2009, 04:00
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Solenoid Wiring and Compressor Help

ok, i just verified that the pressure switch goes to ground and signal on dio's.

anyway, we dont have a compressor on our robot, but i think at some point we tested code with it. I remember opening and starting the compressor outside of the main loop, then sending the wire through the main loop, and stopping and closing it on the other side of the loop. that should make it continually run while the bot is on.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY