But there are just 2 interrupts on the Arduino?
So what to to if i want (for example) to switch 24 devices with 24 switches?
So now i was reading about de-bouncing and seams like that the Schmitt-Trigger solution is thebest choice.
But that would mean that "digitalRead INPUT" is useless?
You can buy a MEGA
It is useless only in the hands of useless programmers.
I have two Mega but they also have just 6 interrupt pins.
Interrupts allow you run a program, while still being able to react to asynchronous input from the outside world.
Go where you feel the fun is (tm)
Cool? Hm, i think nobody ever will ask: "hey how does this button work? do you use interrupts?"If i build a egg timer for my 60 years old Mother. She never ever will look at the code or ask.
I mean the person who writes the program...