Shop OBEX P1 Docs P2 Docs Learn Events
Quick LCD help CLS not working — Parallax Forums

Quick LCD help CLS not working

KraZe_EyEKraZe_EyE Posts: 15
edited 2008-11-14 00:40 in BASIC Stamp
my LCD will not clear the screen I have to kill power to it to clear it

I'm using the proper command used in the test program made by parallax
its a 2x16 parallax serial LCD REV.E

another thing, I have to place leading 'spaces' to get my display to write to the first column; even thopught I put code in to clear it and place the cursor at line1 column 0


any help is much appreciated

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-11-13 23:44
    You have to SEROUT the actual data not the data referenced to a declared CON or VAR.
  • KraZe_EyEKraZe_EyE Posts: 15
    edited 2008-11-14 00:26
    I figured it out, and btw your wrong, if you declare a constant then what ever it is linked to is put in its place

    ie if turning of the LCD back light is ASCII $11 then

    LCDBKon CON $11

    whenever I type LCDBKon then the stamp 'sees' $11
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-11-14 00:40
    "I figured it out"· Then what was the problem?

    I see that there·is an·example using a matrix, toward the end of SEROUT in PBASIC Help, but I didn't see any examples using VARs/CONs in the 27976 sample.
Sign In or Register to comment.