LCD (Liquid Crystal Display) adalah satu alat untuk display pelbagai character. Antaranya LCD yang mempunyai dot matrix controller HD44780. HD44780 boleh beroperasi pada 5X8 atau 5X10 dot matrix. LCD ini mempunyai beberapa saiz mengikut bilangan character. Antaranya 16X2 atau 20X4 character. 16X2 character bermakna LCD itu mempunyai 16 character pada line dengan 2 lines. LCD ini mempunyai 16 pins.

Di bawah adalah skematik untuk LCD HD44780.

Transistor di pasang pada sambungan backlight adalah supaya boleh ‘ON’ dan ‘OFF’ LCD backlight. Lihat document di bawah untuk instruction LCD.
Berikut adalah videonya.
So, you saying I should set the compiler to Hi-Tech Universal Toolsuite instead Microchip C18 Toolsuite ?
I’m involved these due to project.
That initialize using different compiler. That is C18 compiler.
I have the PIC18 using Hi-Tech in Lesson PIC18F4550.
Well, I’m confused with SK40c from cytron website,which provided video demo.
I’m confused with pic.h and p18f4520.h
Which type of compiler should I actually use ?
I’m new to this microcontroller.
Linspire, the htc.h is already exist with the Hi-Tech installer. No need to add or create this file.
Sir,
Where I can get htc.h header file ?
Ja, pin 15 dan pin 16 adalah LED backlight saja. X pasang pun, cuma lampu nya tidak menyala, LCD masih berfungsi.
pin 15 dan pin 16 pada LCD mmemang kena buat connection mcm dalam gmbr rajah 2 ke? kalau pin 15 dan pin 16 xbuat apa2 connection blh x? ada effect apa2 x pd LCD 2? sbb ada datasheet hanya tunjuk connection/ penerangan untuk pin 1-14 shj
lynx, backlight boleh sambung terus ke ground. Contrast sepatutnya tidak boleh sambung ke ground, tulisannya tidak dapat dipaparkan tetapi kadang2 ada LCD yg boleh di ground kan contrast nya.
bolehkah contrast n backlight dsambungkan dekat ground? akan ada effect thadap display x?
car-tok, untuk simulation saya x tahu.