Why sometimes LCD from two lines switches to one line and I have to reset ATMega to fix it, it is happening only when i change "C_Ruc_Kom" if I don't change it it stays in two rows.
Sat Jan 28 2017, 17:22:00, download attachment For Tutorial.ld
(no subject)(by MGP)
I think that if you push X_Rucno too fast that the serial transmit buffer is not empty.
Try with a Ton(20mS) after X_Rucno (debouncing).
You use a cycletime of 0.2mS and this is very fast.