gravity123
Newbie level 6
Hello friends ,
I want to send an 4 bit data to LCD along with the enable and RS data through the same port of an 8 bit controller.
that is the Data is 4 bit consider my data is "C'
controllerport = ((c >> 4) & 0x0f) | EN | RS;
is it correct ?
or how can i send the EN and RS data without affect the c data.
I want to send an 4 bit data to LCD along with the enable and RS data through the same port of an 8 bit controller.
that is the Data is 4 bit consider my data is "C'
controllerport = ((c >> 4) & 0x0f) | EN | RS;
is it correct ?
or how can i send the EN and RS data without affect the c data.