void LCD_init()
{
_delay_ms(40);//
DDR_DATA |= 0xF0;//
PORT_DATA |= 0xF0;//
DDR_SIG |= (ON<<E)|(ON<<RW)|(ON<<RS);//
PORT_SIG |= (ON<<E)|(ON<<RW)|(ON<<RS);//
// _delay_ms(40);
LCD_write(0x28,RS_COM);//2 линии данных 4 бита шина
LCD_write(0x01,RS_COM);//
LCD_write(0x06,RS_COM);//
LCD_write(0x06,RS_COM);//
LCD_write(0x0C,RS_COM);//
}