The code I am using allows me to press SW2 or SW3 and send a notification to IFTTT. I can't figure out how to identify which switch was press so I can send that information to IFTTT. Currently I can press SW2 and press SW3 and both will send a notification to IFTTT but I don't know how I can separately identify which button was pressed. Any direction would be appreciated.
Code Below
/* Enable internal pullup.
* Without the pin will float and the example will not work */
pinMode(PUSH1, INPUT_PULLUP);
attachInterrupt(PUSH1, sendRequest, FALLING); // Interrupt is fired whenever