Page 1 of 1
LCD1602 BUG
Posted: Mon Aug 14, 2023 12:24 pm
by niedian
LCD1602 BUG,ScrollDisplay Simulation doesn't work.help me.
Re: LCD1602 BUG
Posted: Mon Aug 14, 2023 1:11 pm
by chipfryer27
Hi
You have your scroll command within a loop, to move the "OK" one position to the left. However earlier in the loop you set the cursor to 4,0 so each iteration of the loop will start at 4,0.
If you move your set cursor to before the loop, you will see it works.
However there is still a bug. Position only accepts values of 1 and 3 which actually equates to direction, and Direction equates to how many positions to move.
Regards