Warning to users of some vendors LCD keypad shields

bperrybap:
Almost, The diode is flipped/reversed. (I think you would have quickly figured it out)
The diode is used to isolate D10 from the circuit when D10 is high.
The pullup resistor is used to turn on the transistor.
The backlight will be on if D10 is input or HIGH.
Setting D10 to low turns off the backlight.
The diode allows D10 to yank the pullup down to gnd to turn off the transistor when D10 is low.

It works but really isn't a good design, I wouldn't design a circuit like this.

I did it this way because I couldn't easily desolder the LCD on the shield I had to replace
the transistor with an FET. (The transistor was underneath the soldered LCD module)

--- bill

Hey, thanks for your help, now I understand the question.
I finally won't be able to fix my lcd because of the pcb design and the components placement, so I decided to buy a new one at http://www.electrofunltd.com/ and I have been testing the FMalpartida's library with nice results...
By the way, I would like to reupload the schematic with the diode in a correct placement in case it can help someone :slight_smile: