Jump to content
43oh

Cleo5

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by Cleo5

  1. Maybe that's why I am having trouble. I am looking at the wrong part of the code?
  2. 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
×
×
  • Create New...