At first I would like to thank you for your answers in advance.
I have a problem I can't solve! I am totally new in the world of electronics so take bear with me.. :-?
I have a sketch like this (the chip on the breadbord is (suposed to be) L293D):
On pins 2 and 3 I attached interrupts and turned on pull up resistor like this:
pinMode(2, INPUT); digitalWrite(2, HIGH); pinMode(3, INPUT); digitalWrite(2, HIGH); attachInterrupt(0, myFunction1, CHANGE); attachInterrupt(1, myFunction2, CHANGE);
I am able to control the DC motor. It works OK... But the problem is I am getting interrupt signals without pressing on buttons... It looks like some noise... There is a lot more of interrupts (that shouldnt be), when the motor is spining.
Thanks again for your time!!