Program not READing correct value

TCTC Posts: 1,019
edited 2010-12-10 - 18:34:35 in Microcontrollers
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.
"CONFIDENCE"
The Feeling you get before you truely understand the situation.

Comments

  • TCTC Posts: 1,019
    edited 2010-12-10 - 18:34:35
    Never mind I figured it out. I am used to the BS2. Thanks to all that looked.
    "CONFIDENCE"
    The Feeling you get before you truely understand the situation.
Sign In or Register to comment.