LCD1602 BUG
-
- Posts: 106
- http://meble-kuchenne.info.pl
- Joined: Thu Jan 07, 2021 11:28 am
- Has thanked: 3 times
- Been thanked: 4 times
-
- Valued Contributor
- Posts: 1686
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 583 times
Re: LCD1602 BUG
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
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