-
Do you have external pull up or pull-down resistors connected with your inputs?
http://www.cmiyc.com/tutorials/arduino-pull-ups/ -
Why aren't you using analogWrite()?
Do you have external pull up or pull-down resistors connected with your inputs?
http://www.cmiyc.com/tutorials/arduino-pull-ups/
Why aren't you using analogWrite()?