View Single Post
  #5   Spotlight this post!  
Unread 12-02-2009, 17:21
Zellboy Zellboy is offline
Registered User
FRC #1203
 
Join Date: Jan 2009
Location: West Babylon
Posts: 4
Zellboy is an unknown quantity at this point
Re: Limit Switch problem

This is how we have it set up

Code:
DigitalInput *Clamplimit;     //Limit Switch for clamp

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

if(Clamplimit)
{
       s[6] -> Set(false);
       s[7] -> Set(true);
}
Will this work as is?