Go Down

Topic: How can I use the attachinterrupt function (Read 447 times) previous topic - next topic


How can I use te attachinterrupt function to adjust the brightness of an led. increase and decrease with 2 separate switches


I suppose you could use attachInterrupt() to detect the button presses. But it would be completely unnecessary. Just use digitalRead().

Go Up