Command trouble with stamp driven LK204-25-WB

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
Rick
LCD?
Posts: 2
Joined: Fri Apr 16, 2004 11:14 am
Location: San Diego, California. USA

Command trouble with stamp driven LK204-25-WB

Post by Rick »

Henry,

I'm messing around with a new LK204-25-WB we plan on using for a few projects here at Sea World. I'm using a Basic stamp 2 chip and following the simple example of sending text and/or commands to display from a basic stamp. This example was included in the Matrix Orbital box. The very simple serial code is:

Sending Text:
serout 1, 84, ["hello world"] ' this works fine

Issuing a Command:

serout 1, 84, [254]' Command prefix
serout 1, 84, [88]' Clear screen 'this does not work In fact I can not get any command prefix codes to work. Instead the display writes a 'X' to the screen.

Does this make since?


Thanks in advance!
Rick Ingram
Sea World San Diego
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3014
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

that sound pretty insane as far as I can guess... if you get the letter X on your screen, as you said the command prefix isn't being taken. Lets go over a couple of things, 1. is your LCD set to 9600? 2. are you talking at TTL leverls from the Stamp?

if all of that is ok, try sending the 254 command in hex FE ...
Henry J.
President
Matrix Orbital
Rick
LCD?
Posts: 2
Joined: Fri Apr 16, 2004 11:14 am
Location: San Diego, California. USA

Post by Rick »

Henry wrote:that sound pretty insane as far as I can guess... if you get the letter X on your screen, as you said the command prefix isn't being taken. Lets go over a couple of things, 1. is your LCD set to 9600? 2. are you talking at TTL leverls from the Stamp?

if all of that is ok, try sending the 254 command in hex FE ...

Henry,

Thanks for the fast responce. I've already tried your recommendations but I will double check everything.
Rick Ingram
Sea World San Diego
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post by Miles »

Try sending the bytes in the following manner:
serout 1, 84, $FE,$58

Can you also try sending serout 1,84, [254] individually and see if anything is displayed on the unit...I know this is a command syntax, just curious...

Let us know how you make out... :-?
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
Post Reply