Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
LCD_8data(unsigned char rts)
{
// instructions //
}
now modified for 4 data
LCD_4data(unsigned char rt)
{
// Make BIT shift by 4 bit // /*here*/
// that DATA is to be shifted here //
}
for examplecan you tel something same with example??
// write a data byte to LCD
int lcdPutchar(int d)
{
// printf("%c", d);
LCDstatus.RS=1; // Take RS pin high for data
lcdNibble(d >>4); // Makeup Upper Nibble
lcdNibble(d); // Makeup Lower Nibble
return 1;
}