Page 1 of 1

LCD BS2 code

Posted: Mon Nov 21, 2011 10:57 am
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 "?

Posted: Mon Nov 21, 2011 12:02 pm
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

Posted: Tue Nov 22, 2011 7:14 am
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

Posted: Tue Nov 22, 2011 9:08 am
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