How would you write a code in EasyC v.2 to use jumper clips? Can they only be used with the default code?
use it as a LIMIT SWITCH, and check for equal 1 (I believe, may be 0).
Correct - read it like a limit switch.
0 indicates the jumper is present.
1 indicates the jumper is absent.
Instead of comparing against 0 and 1, you can compare against OPEN and CLOSED from user_routines.h, or you can define your own macros like so:
#define JUMPER 0 #define NO_JUMPER 1