reed switch: modify reed switch to change led based on interrupts