??? 12/05/07 11:04 Read: times Msg Score: +1 +1 Good Question |
#147903 - Application Responding to: ???'s previous message |
Hello If you need short way just use readymade procedures from Bascom utilities. [a]http://www.mcselec.com[/a]
There are very simply procedures to use LCD and RS-232. LCD need connection by 4 or 8 bit inreface, and for full RS-232 you will need any MAX 232 or compatible. As Simple as possible is: Dim S As String * 12 , A As Byte INITLCD Cls 'clear the LCD display Lcd "It works" 'display this at the top line Wait 1 Lowerline 'select the lower line Wait 1 Lcd "And now RX" Open "com3.1:9600" For Output As #1 Open "com3.0:9600" For Input As #2 Do Get #2 , A TIMEOUT = 10000 'get character from comport Lcd A 'send to LCD Loop Close #1 ' finally close device Close #2 End But if you need special chars or special mark there was some problem and better will be write it in C or Asm and use special function of LCD , DRAM SRAM etc.. |