View Single Post
  #5   Spotlight this post!  
Unread 07-02-2013, 22:40
BPtigers BPtigers is offline
Registered User
FRC #4663 (i8sumpi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Minnesota
Posts: 25
BPtigers is an unknown quantity at this point
Re: How to program a limit switch?

So should this code work, for an upper limit and a lower limit, but what should I put in the case structure for default then? Thanks a ton everyone.
Attached Thumbnails
Click image for larger version

Name:	default case.JPG
Views:	54
Size:	45.2 KB
ID:	13844  Click image for larger version

Name:	up complete case.JPG
Views:	40
Size:	47.8 KB
ID:	13845  
__________________
Ben
Reply With Quote