Thread
:
Limit Switch problem
View Single Post
#
1
12-02-2009, 16:02
Zellboy
Registered User
FRC #1203
Join Date: Jan 2009
Location: West Babylon
Posts: 4
Limit Switch problem
We're trying to program a digital input with a limit switch. How do we set the if statement?
This is what we have so far
Code:
if(Clamplimit -> Get() > 0) { s[0] -> Set(false); s[1] -> Set(true); }
Is it correct?
Last edited by Zellboy : 12-02-2009 at
16:29
.
Zellboy
View Public Profile
Find all posts by Zellboy
Find CD-Media Photos by Zellboy
Find CD-Media Papers by Zellboy