_ROTTARY_SW_init.h 496 B

12345678910111213
  1. // rottary switch ports
  2. #define ROTTARY_SW_sw A8 // 62 // A8 //A8 //53 // 89 // = A8
  3. #define ROTTARY_SW_dt A9 // 90 // = A9
  4. #define ROTTARY_SW_clk A10 // 91 // = A10
  5. /*
  6. LOW to trigger the interrupt whenever the pin is low,
  7. CHANGE to trigger the interrupt whenever the pin changes value
  8. RISING to trigger when the pin goes from low to high,
  9. FALLING for when the pin goes from high to low.
  10. The Due, Zero and MKR1000 boards allow also:
  11. HIGH to trigger the interrupt whenever the pin is high.
  12. */