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 »

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: 881
Joined: Fri Aug 17, 2007 10:58 am
Location: Matrix Orbital
Contact:

Post by Clark »

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 »

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: 881
Joined: Fri Aug 17, 2007 10:58 am
Location: Matrix Orbital
Contact:

Post by Clark »

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