Search found 4 matches

by Sawmiller
Wed Apr 01, 2015 3:33 am
Forum: Serial Communication
Topic: Parallax Serial LCD
Replies: 8
Views: 51131

Re: Parallax Serial LCD

No one ever accused me of being fast. Two nights later I finally got it to work. Turns out the display needed a small wait in the SUB. #include <Serial.bas> SUB PrintUART1 (Astr(100) as STRING) DIM I as INTEGER I=0 WHILE Astr(I) TXD(1) = Astr(I) wait(10) I=I+1 LOOP END SUB main: DIM Bstr(100) as str...
by Sawmiller
Mon Mar 30, 2015 9:31 am
Forum: Serial Communication
Topic: Parallax Serial LCD
Replies: 8
Views: 51131

Re: Parallax Serial LCD

I've spent hours trying way I can think of to write this code but no success. The code listed will display the first character of Astr but it appears that I isn't being incremented. The loop is being solved only once. I can change the I=0 to I=2 and it will display a h. The clear display doesn't wor...
by Sawmiller
Fri Mar 27, 2015 10:38 am
Forum: Serial Communication
Topic: Parallax Serial LCD
Replies: 8
Views: 51131

Re: Parallax Serial LCD

I tried running the code but it only displayed the H in Hello. The LCD I'm using is a PARALLAX Serial LCD. I'll need to do a clear display which is 12 and a CR which is 13. How do I write the code to do that. I tried writing it like PBasic but it didn't like that. Also if you don't mind another dumb...
by Sawmiller
Wed Mar 25, 2015 1:11 pm
Forum: Serial Communication
Topic: Parallax Serial LCD
Replies: 8
Views: 51131

Parallax Serial LCD

I've got a SuperPro connected to a serial LCD display. I'm using UART2. I copied from example from superpro manual print command but it doesn't work. Here's what I enter in the one line editor and what I get back from it: BAUD(2)=9600 PrintUART2 ("HELLO") ERROR 2: Expected =, found ("HELLO") I don't...