Help! with limit switches

Hi our team is on the brink of finishing our robot but we have absolutely no idea how to program limit switches for our lift and cannot find any thing online.


-Thank you

Hey I think I have something figured out on my post I got all kinds of help from everyone if you wanna check it out here is the link

Alright, thank you,

I’ll try it out tomorrow!

Where in eclipse do we put the code?

My code is located in: YourProjectName/src/org.usfirst.frc.teamxxxx.robot/