Need help troubleshooting variable not getting set by interrupt

  1. Try working with just one think (say headlight) at a time. Get that running then extend it to cover the other things.

  2. I don't think you can do this

 attachPcInterrupt(headlightInput,headlightOn,RISING);
 attachPcInterrupt(headlightInput,headlightOff,FALLING);

Does the documentation explicitly say that you can have more that one interrupt attached to a pin AT THE SAME time?

Mark