View Single Post
  #6   Spotlight this post!  
Unread 12-02-2009, 19:38
Redneck's Avatar
Redneck Redneck is offline
Hacker Hick
AKA: Jamie (2.0) Moran
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Aug 2004
Rookie Year: 2004
Location: California
Posts: 90
Redneck is just really niceRedneck is just really niceRedneck is just really niceRedneck is just really nice
Send a message via AIM to Redneck
Re: Limit Switch problem

No, it needs to be:
Code:
DigitalInput *Clamplimit;     //Limit Switch for clamp

Clamplimit = new DigitalInput(2); //Limit Switch for clamp (Digital Input)

if(Clamplimit->Get())
{
       s[6] -> Set(false);
       s[7] -> Set(true);
}
Also, what class is s an instance of?
__________________


Which badges can you claim?