Help With Jumper Clips

Hello, everyone
After digging around in my parts I found these weird orange clips that fit in the cortex and it says jumper clip on it. I was wondering if anybody new anything more about this. I have read about them but it does not show any programming.
Thanks in advance,
Nick

Jumper clips return binary values (1 or 0). People on the forum can correct me if I am wrong, but if you read a digital input without a jumper, you get 1 whereas you would get 0 if you read a digital input that has a jumper. This can be used in multiple ways. You can use it to have multiple autonomous programs without having to go through programming an LCD. This is what it is generally used for, however you can do many other things with it like setting your lift to stop at a certain height. As for coding them in RobotC, it’s basically if statements checking if the jumper in a certain port is 0. This is a jumper being used for multiple autonomous programs:


task autonomous(){
	if (SensorValue[jumperTwo]==0){ // Jumper Clip 2 is in port 2//
		AutonOne (); //Left tile autonomous//
	}
	if (SensorValue[jumperThree]==0){ // Jumper Clip 3 is in port 3//
		AutonTwo(); // Right tile autonomous//
	}
}//Autonomous

I can’t help you with EasyC because I don’t know how to use it ¯_(ツ)_/¯, however here is a comprehensive video explaining it:

Here are some other threads that may be useful to you:
https://vexforum.com/t/jumper-clip-programming/38911/1
https://vexforum.com/t/changing-the-autonomous-program-for-skills-and-matches/38663/1
https://vexforum.com/t/answered-jumper-clips-in-analog-digital-inputs/15699/1

I wish you best of luck with jumpers