And the other thing you mentioned...
I need to build a generic test circuit before posting code![]()
And the other thing you mentioned...
I need to build a generic test circuit before posting code![]()
Just to be sure, I wasn't being sarcastic.
I wanted to post an attempt, but it's easier for me to pick at others.
Robert
guys
I manage to get the lcd working with the cursor responding to the left right navigation button
now , I have a problem with the change of letter
lets say if I want the 1st letter to be from 0,1,2,3,..,9,A,B,C
I am thinking of 012345679ABC as a string, then move from bit to bit
or should I get an array of 13, then point to it
This is totally off the top of my head, no code:
Use an array with 1 element for each character on display.
- if 4 characters, then use 4 elements starting at 0.
Store the position of each character in the array.
- character 1 starts at 0 on startup, so array(0)=1.
Use a lookup table to display each character.
Lcdout (clear screen)
For element = 0 To 3 (if using 4 characters)
Lookup array(element),[0,1,2,3,4,5,6,7,8,9,A,B,C],byteout
Lcdout byteout at next position on display
Next element
-syntax must be corrected.
- never used lookup so not sure if it starts at 0 or 1.
- I remember concatenating characters on the same LCD line, somewhere.
Ok Art, now it's your turn.
Robert
Well since I was invited it's either what you said, or look up from on-chip eeprom if all lookup tables are going to end up the same.
Much nicer if it was just numeric values, and you could just increment/decrement each byte with the up/down button pushes.
After that first attempt, I'm not going to code it without a test circuit here...![]()
cool, I just need some hints on the algorithm , or rather a better way of writing...
shouldn't have any problem writing the code myself
thanks again, lets hope my weekend will be fruitful
Bookmarks