Go Down

Topic: Controlling a 5v relay, only getting 2.4v? (Read 8930 times) previous topic - next topic

MarkT


Yep. And it had nothing to do with the problem whatsoever. Turns out I forgot to set pinMode(dirPin, OUTPUT).   :P

Oops.

All is well now. I guess the lesson is, don't give a pin a name that sounds like derpin'  ;)


Do you see now why the guidelines say "post all of your code"?
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

Go Up