Discussion in "Project Help" started by    darshini    Sep 19, 2007.
Sun Oct 07 2007, 02:30 pm
#21
have atached the header file and the circuit
Sun Oct 07 2007, 04:07 pm
#22
i cannot see it.. please zip the file first.
Sun Oct 07 2007, 05:01 pm
#23
resending the header file and the ckt
Sun Oct 07 2007, 07:55 pm
#24
well sorry.. i mis interpreted the data you gave before...
LCD data bits are connected to the higher nibble of P0 and control pins are connected as mentioned.. in the #define context.
is there anything else you want to know?
Mon Oct 08 2007, 07:57 am
#25
if i have to make changes in the LCH header file to incorporate my design ie in the 8 bit mode then what all changes will i have to make??
or can u plz highlight the instructions that will need some change! thanks
Mon Oct 08 2007, 08:07 am
#26
one more thnig, if i have to send nos to the LCD to display em in decimal, will 4 bit mode help or do i make it 8 bit??? and in case of 4 bit, do i connect only 4 pins i.e. 0.4 to 0.7 with 0.7 as HSB
Mon Oct 08 2007, 01:19 pm
#27
you have to make a lot of changes in the code..
4-bit and 8-bit modes are totally different from each other..
also regarding pins..
4 bit mode need a max of 6 pins where as 8-bit more need 11 pins to connect LCD to controller.

if you want to program using 8-bit mode.. see the lcd tutorials in tutorial section.
 darshini like this.
Mon Oct 08 2007, 03:46 pm
#28
thanks
Mon Oct 08 2007, 10:02 pm
#29
P0=((cmd&0xF0))|(0x08); // Higher nibble first
PULSE();

P0=(((cmd&(0x0F))*16))|(0x08); // Lower nibble next
PULSE();

where CMD is an unsigned char

can u plz telll me why is it bitwise ORed with 08??
Mon Oct 08 2007, 10:05 pm
#30
they are setting the bit P0.3 of Port 0 check where it is connected in the original circuit. only then i can tell why they are doing so...

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am