View Single Post
  #2   Spotlight this post!  
Unread 02-12-2004, 16:12
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help With Compressor Code

The suggested code is simply to read a digital input from a pressure switch and copy its value out to a Spike wired up to the compressor. The pressure switch supplied in last year's kit of parts has two set points, turning on at about 95 PSI and off at about 115, so you don't have to worry about fancy programming unless you really want to.

I believe the default code wants the compressor on relay 8 and the switch on digital input 18, but don't take my word for it without checking first.

The default code is also already set up for tank drive. I don't remember which joystick inputs or pwm outputs it wants. Read the comments in the code; they are very helpful.