Matrix Orbital LK162-12
Gerry Shand
Posts: 45
Hi Folks:
Does anyone here have any experience with downloading code into these LCD displays using the I2COUT command from the BS2P?
This should be simple and straightforward, yet I am missing something. The following program is what I came up with to clear the screen and it does not work:
' {$STAMP BS2p}
' {$PBASIC 2.5}
'Define pins
MAINIO······ 'P0-P15
sda PIN 13
scl PIN 14
PAUSE 100········· 'Wait for things to settle down
Main:
MAINIO
I2COUT sda, $0, 0, [noparse][[/noparse]HEX 254]
I2COUT sda, $0, 0, [noparse][[/noparse]HEX 88] ' clear display
GOTO main
Any advice other than to try a display that would just accept a SEROUT command?
Thanks and regards,
Gerry Shand
Does anyone here have any experience with downloading code into these LCD displays using the I2COUT command from the BS2P?
This should be simple and straightforward, yet I am missing something. The following program is what I came up with to clear the screen and it does not work:
' {$STAMP BS2p}
' {$PBASIC 2.5}
'Define pins
MAINIO······ 'P0-P15
sda PIN 13
scl PIN 14
PAUSE 100········· 'Wait for things to settle down
Main:
MAINIO
I2COUT sda, $0, 0, [noparse][[/noparse]HEX 254]
I2COUT sda, $0, 0, [noparse][[/noparse]HEX 88] ' clear display
GOTO main
Any advice other than to try a display that would just accept a SEROUT command?
Thanks and regards,
Gerry Shand
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Pluggable Serial Backpack
http://hometown.aol.com/newzed/index.html
·
Yes, you are correct.... In the latest manual on page 143 you will see
an I/O pin arrangement definition in Table 5.19 (I2COUT Quick Facts)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer II
National Semiconductor Corporation
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Pluggable Serial Backpack
http://hometown.aol.com/newzed/index.html
·
For Jon
The following was received from a customer of mine, Dr. John Wardle,
Noble's Hospital, Isle of Man, UK:
I read all the forums, at least the good posts (and sometimes the weird stuff from strange youngsters who don’t seem to have a clue, but are amazingly politely handled – Jon Williams must have the patience of a Saint).
Sid
·
He is perfectly right. One Friday afternoon, maybe six month ago when I was completely new at stamps I put a question on Yahoo. He did answer to it, but because I did not understand the answer, Jon sent me some direct emails until late in the night (very late).
I felt embarrassed for such late hours so I suggest him to stop and eventually to continue Monday if necessary. Next morning, Saturday, I found an email from Jon, sent at 3 AM with a solution to my questions. I replied to thank you, but a question develops an other one, and he suggests me to call me to talk on the phone faster then email. He did call from Dallas to Toronto and we spent maybe an hour or so on the phone. Jon insisted to make sure that I understood the concepts and program before he did hang up. I do not have other terms to compare his devotion to help peoples the maybe Mother Theresa, Indira Gandhi, or Martin Luther King (history it was never my strong subject).
I have all the respect for him, and the way how he treats peoples like us which from time to time put questions with an obvious answer ( if we read the manual).
Ion
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office