Program not READing correct value
TC
Posts: 1,019
Could someone please help me? I am working with a 14-Segment display. I have a test program that I am doing but something is not making sense to me. I am trying to read WDATA value but I am getting the wrong value.
From the program included, if you remove Get_Char (line 83) from Main: the display will display the correct character but if Get_Char is in place it will display garbage. Even if char=%00100111_10110100 (line 78) is removed. I know the problem is with the READ command but I have no idea why.
From the program included, if you remove Get_Char (line 83) from Main: the display will display the correct character but if Get_Char is in place it will display garbage. Even if char=%00100111_10110100 (line 78) is removed. I know the problem is with the READ command but I have no idea why.
Comments