Forum Discussion
LCD interfacing problem
- 3 years ago
Hi,
Greetings and welcome to Intel's forum.
As I look into your code, the issue might lie in the integer ' i ' is limiting the characters in a string for display. You may try to increase the value and see whether it solves the issue.
Here is a link on how NIOS II driver controls the Character LCD for your reference: https://www.intel.com/content/www/us/en/support/programmable/articles/000078036.html
Hope to hear on your findings. Thank you.
Regards,
Kelly
But i is working when the looping occurs for k==0 but only when k==1 it seems that i is not working as expected and instead starts from i=15. To solve that I intialized the value of i to zero too at the end of each case, but it didn't seem to work. Can it be due to some memory issues, or are some commands to be passed for the k==1 case to work?