Go Down

Topic: 16x2 LCD question (Read 1 time) previous topic - next topic

Mossen

#15
Mar 01, 2011, 12:44 am Last Edit: Mar 01, 2011, 12:48 am by Mossen Reason: 1
Well, I wired it up just like Adafruit describes, and changed the code as shown, but same result. Just to make sure the board was working, I added into the loop() code

Code: [Select]

if (Serial.available() > 0)
 {
   byte inByte = Serial.read();
   
   if (inByte == '+')
   {
     digitalWrite(2, 1);
   }
   else if (inByte == '-')
   {
     digitalWrite(2, 0);
   }
 }


...with an LED on pin 2. Now everytime I send it + it turns on, - it goes off. So I know the board is working, and the sketch is being uploaded, but the LCD doesn't do anything. Even when I reset the board, the LCD doesn't even flash on/off, just the same 1 row of blank boxes.

Not sure what to do at this point. I'm gonna try touching up the soldering just to make sure. Thanks for everyone's help so far, BTW :)
.............................................................
mossen

Mossen

Alright, that was it......I guess there was a cold joint in there because when I stuck the LCD back into the breadboard after re-melting all the solder joints, it worked! I haven't soldered anything in about 10 years so reflecting on this problem, I should have just check the joints first. Anyway, its fixed now and I appreciate your help.

Thanks everyone, for helping me troubleshoot this!

Mossen

Go Up