Digital Johnson
Member
I can't get digitalWrite() to work while using Encoder library. I have an encoder w/ button and an 2x16 character LCD on an Arduino Uno. The encoder and button works fine as well as the LCD. But if I try to directly write to a pin that is not used by any library nothing happens. The encoder is on pins 2 and 3, the button is on pin 12. LCD uses 8, 9, 4, 5, 6, 7. I have the back light of the LCD on pin 10. With everything connected, I can write just code to blink the back light and it works perfect. If I try to do the same test code with the rest the back light has no response even if I put the test code at the very beginning of setup(). Is there an issue with digitalWrite() while using Encoder or EncoerButton Libraries?