You should connect a batron 4x40 lcd in this way: LCD PIN -> LPT PIN 01 -> Ground 02 -> 5V 03 -> Ground (Constrast) 04 -> 16 05 -> 14 06 -> Ground 07 -> 02 08 -> 03 09 -> 04 10 -> 05 11 -> 06 12 -> 07 13 -> 08 14 -> 09 15 -> 01 16 -> 17 To use light control feature of lcdhype, connect Pin 05 of LCD to Ground and connect light control circuit to pin 14 of LPT.