Shop OBEX P1 Docs P2 Docs Learn Events
LCD appmod with ping sensor — Parallax Forums

LCD appmod with ping sensor

CalebriaCalebria Posts: 1
edited 2013-03-28 09:25 in BASIC Stamp
Hello, i am new to basic stamp and this is my first post. i wanted to display the distance measured onto my LCD. i have tried using the following attached code but it ended up displaying odd characters (arrow and S) instead of the reading. I am not sure what is wrong with it. Please give me some suggestion. thanks! =)

LCD appmod with Ping testing.bs2

Comments

  • garyggaryg Posts: 420
    edited 2013-03-23 18:20
    First Question:
    Which LCD display are you attempting to use?
    The only one I'm somewhat familiar with is the Parallax item # 27977, which is a 2x16 Serial LCD (Backlit) with Speaker.
    There are many LCD display types available.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-03-23 18:54
    After dealing with computers for many years I have learned a few things. One of them is that when you receive weird characters over anything running on Serial check your baud rates to make sure they match up on both ends. EDIT: After looking at your code I see no reference to any Baud rates. Do you have a link to the data page of your LCD?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2013-03-28 09:25
    The subject line says LCD AppMod and the code confirms this, which is designed for a parallel LCD, not a serial one, such as #27977. Can the OP confirm?
Sign In or Register to comment.