Has anyone figured out how to display a value stored at an address on the display? I can read and write to the EEPROM, but I'm not sure how to display the result I have 'read' or obtained from it on the LCD display 

Views: 36

Reply to This

Replies to This Discussion

Is it a number?

Yeah, I just have dummy numbers stored in EEPROM right now

Have a table of numbers and use the normal method but don't loop around the addition

 I'm not quite sure what you mean by this. I currently am storing 0x31, the hex value for 1, in my EEPROM memory. When I read the number, I place it in my working register, and then call WR_DATA, which takes in hex numbers and displays the corresponding decimal number on LCD. Currently, I know the number is being 'read' but the character on the display is pure gibberish

something is wrong in waht you wrote, 0x31 is not hte hex value for 1, it may be the ascii value... i attempted to do that, but i had trouble so i ended up just makinga table '0123456789' and adding w to pcl and calling the table...

RSS

© 2024   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service