Shop OBEX P1 Docs P2 Docs Learn Events
Program not READing correct value — Parallax Forums

Program not READing correct value

TCTC Posts: 1,019
edited 2010-12-10 18:34 in General Discussion
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.

Comments

  • TCTC Posts: 1,019
    edited 2010-12-10 18:34
    Never mind I figured it out. I am used to the BS2. Thanks to all that looked.
Sign In or Register to comment.