Author Topic: Using PIN 1 with switch and pull-up resistor  (Read 4000 times)

WillSo

  • Newbie
  • *
  • Posts: 2
Using PIN 1 with switch and pull-up resistor
« on: October 30, 2017, 12:55:39 pm »
I'm trying to connect KY-040 rotary switch to Digispark PIN 1, but it does not work. KY-040 has built in 10K resistor between + and SW, so it's classic pull-up resistor. I think LED on PIN 1 interferes somehow. What should I do? If connecting separate button with pull-down resistor, everything seems to work just fine.