Search found 9 matches

by Turnbull2112
Fri Feb 25, 2011 5:25 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Displaying a changing variable on LCD0821
Replies: 8
Views: 9043

YOU. ARE. THE. MAN. That worked!!!! Here is what I was using to test the program.

Thanks for your help!! I will post my project up here when I'm finished!

' {$STAMP BS2}
' {$PBASIC 2.5}

freq VAR Byte

DO

Get_Rc_Time:
HIGH 2
PAUSE 3
RCTIME 2, 1, freq

DEBUG DEC freq, CR

SEROUT 1, 33, [254 ...
by Turnbull2112
Tue Feb 22, 2011 11:48 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Displaying a changing variable on LCD0821
Replies: 8
Views: 9043

I'm still not sure how to convert the 100 into ASCII and then display it. I'm just now getting the hang of cursor placement. Can you provide an example of what the code may look like? I'm still pretty confused here. Do you provide phone support by chance? I need to get this ball rolling.
Thanks.
by Turnbull2112
Mon Feb 07, 2011 8:03 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Displaying a changing variable on LCD0821
Replies: 8
Views: 9043

What I'd like to try for testing purposes is to have and RCTIME variable displayed through the LCD0821. I want to use the code below to feed the LCD.

' {$STAMP BS2}
' {$PBASIC 2.5}

time VAR Byte

Get_Rc_Time:
DO
HIGH 4
PAUSE 3
RCTIME 4, 1, time

DEBUG DEC time, CR
LOOP
RETURN

If it's possible ...
by Turnbull2112
Mon Feb 07, 2011 7:43 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Displaying a changing variable on LCD0821
Replies: 8
Views: 9043

Eh :-/ .. need some more help here...

I'm still having trouble with this. This is one part I am under tremendous pressure to figure out right now. Do you have any quick sample code examples or anything? As soon as I see it work I can zip through the rest of my project. I am sorry to be this needy LOL

Rob
by Turnbull2112
Tue Jan 25, 2011 12:27 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Displaying a changing variable on LCD0821
Replies: 8
Views: 9043

Displaying a changing variable on LCD0821

How would I get a variable displayed next to the following.

' {$STAMP BS2}
' {$PBASIC 2.5}

SEROUT 1, 33, [254] 'Command Prefix
SEROUT 1, 33, [88] 'Clear screen command
SEROUT 1, 33, ["TEMP = XXXX*F"]

I'm using a Basic Stamp BS2. The "XXXX" would be the variable and everything else would ...
by Turnbull2112
Tue Jan 04, 2011 8:58 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Trouble with BS2 and the new LCD0821 rev 2.0
Replies: 5
Views: 7027

I think I figured it out. i guess the rev 2.0 default baud rate is 19200. The examples are showing 9600. Here is my code that started working. Thanks again for the help!!

' {$STAMP BS2}
' {$PBASIC 2.5}

SEROUT 1, 33, [254] 'Command Prefix
SEROUT 1, 33, [88] 'Clear screen command
SEROUT 1, 33 ...
by Turnbull2112
Tue Jan 04, 2011 8:20 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Trouble with BS2 and the new LCD0821 rev 2.0
Replies: 5
Views: 7027

I made the changes to the pads and I'm getting what looks like a bunch of commas and lower case "p" characters. I'm using the sample program from your webpage. See below.

'{$STAMP BS2}
' {$PBASIC 2.5}

SEROUT 0, 240, ["HELLO WORLD"]

I'm using PIN 0 instead of one. Same results regardless of pin ...
by Turnbull2112
Tue Jan 04, 2011 12:02 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Trouble with BS2 and the new LCD0821 rev 2.0
Replies: 5
Views: 7027

I believe the BS2 uses 0-5v for its serial output. Is the LCD capable of reading this? I've read the appnotes and manual but I'm still struggling here. I've even tried downloading the sample code for the Basic Stamp but I get a bunch of garbled data on the LCD. Thanks!
by Turnbull2112
Tue Jan 04, 2011 9:03 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Trouble with BS2 and the new LCD0821 rev 2.0
Replies: 5
Views: 7027

Trouble with BS2 and the new LCD0821 rev 2.0

I am trying to get my BS2 to communicate with the LCD0821. I am not sure which connector to use on the back. The three pin or the four pin connector?? Also which jumpers should be selected on the reverse side of the LCD? TTL or 232?? Is there any example code as far as configuration settings and ...