[an error occurred while processing this directive]
|
void lcd_send(unsigned char data)
{
unsigned char temp;
lcd_wait();
temp = data;
data >>= 4;
data &=0x0F;
lcd_set_rs();
PORTD = data; // ???????? PORTD &= ~0x0F; PORTD |= data
lcd_pulse();
data = temp;
data &=0x0F;
lcd_set_rs();
PORTD = data; // ??????????
lcd_pulse();
}
E-mail: info@telesys.ru