LCD BS2 code

Support for MOC/MOS/MOI/MOU/X-Board/MOP

Moderator: Mods

Post Reply
mattm_nscc
LCD?
Posts: 2
Joined: Mon Nov 21, 2011 10:52 am

LCD BS2 code

Post by mattm_nscc » Mon Nov 21, 2011 10:57 am

Hey I am doing a school project and build a guitar turner cuircuit that use a 16x 2 serial MOS LCD...
i want on row 0 to show the note which is being play, which i have the code for already.... On the bottom line i want there me an "+,arrow,0 etc" to show which way to tune the guitar... any suggestion how how the pbasic code might work "?

Clark
Matrix Orbital
Matrix Orbital
Posts: 861
Joined: Fri Aug 17, 2007 10:58 am
Location: Matrix Orbital
Contact:

Post by Clark » Mon Nov 21, 2011 12:02 pm

Hey Matt,

Step one: grab the manual. Step two: browse our appnote section. Step three: ...profit?

Commands useful for your application may include Set Cursor Position, and possibly Custom Characters; consult the font table first to see if there are any suitable characters built-in. Obviously, we can't write the code for your project, but if you have any questions regarding display functionality don't hesitate to post.

Thanks,
~Troy
Troy Clark
Design & Development
Matrix Orbital

mattm_nscc
LCD?
Posts: 2
Joined: Mon Nov 21, 2011 10:52 am

Post by mattm_nscc » Tue Nov 22, 2011 7:14 am

Hi thanks for the reply... Im want to show e"note=" variable to show up on the top row, this is my code now
SEROUT 15, 84, [ 22,12, ASC? Note ]
but when i do this is get this strange "1" looking thing a stright line but a slight curve on the top, but when i do this
SEROUT 15, 84, [ 22,12, "note =" ASC? note]
i get something like this " Note=note=E for ecample, how to i get it to show just " Note =" variable ?, any suggestions

Thanks Matt M

Clark
Matrix Orbital
Matrix Orbital
Posts: 861
Joined: Fri Aug 17, 2007 10:58 am
Location: Matrix Orbital
Contact:

Post by Clark » Tue Nov 22, 2011 9:08 am

Hi Matt,

I'd recommend following the appnotes, looks like SEROUT 1, 240, ["HELLO WORLD"] is documented. As for the strange character, you could identify its' value using the font table for your display (Parallel MOP-AL202C).

Thanks,
Troy
Troy Clark
Design & Development
Matrix Orbital

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest