Ok, Lets establish some basics first.
In your first post, you have a program that scrolls numbers across the screen at a rate of 1 sec per number. correct?
You are reading the numbers from an array, correct?
So if you take out the pause, it will just instantly display the whole array? If yes, this is your LCD update. call this every time you need to change the display.
reasons to update or change:
1. time to scroll
2. aim button pressed so you need to change the aim number
3. fire button pressed AND a hit is made
Now you can forget about the LCD. when you update it, send all 32 characters to it (unless random access is available, but this will take more code and understanding). The game portion of the program will minipulate the array so everytime in update is done, the numbers will be where they should be. Because they will be in the same position as they are in the array.
If none of this makes sense, please tell me where you are lost. This applies to all of my above posts.![]()




Bookmarks