Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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..

List of 31 messages in thread
TopicAuthorDate
parallel LCD(HD type) for serial uart LCD display            01/01/70 00:00      
   What's the problem?            01/01/70 00:00      
      entirely irrelevant to this -- why?            01/01/70 00:00      
         They can be treated as 2 separate sub-systems            01/01/70 00:00      
            2 sub systems.. ohhh splitting :) remember!            01/01/70 00:00      
               What are you on about            01/01/70 00:00      
                  I mean electrical interfaces            01/01/70 00:00      
         Look at it this way...            01/01/70 00:00      
            Thats your subjective understanding            01/01/70 00:00      
               Ah, you got me there!            01/01/70 00:00      
                  God someone save me - I clearly explain it            01/01/70 00:00      
                     How would it be confusing?            01/01/70 00:00      
                        Nop you did this to him            01/01/70 00:00      
                           No, that was for you!            01/01/70 00:00      
                              How did you make out that I want you to teach me            01/01/70 00:00      
                                 How could it be unnecessary?            01/01/70 00:00      
                                    And you started teaching me instead ? , Iam not OP            01/01/70 00:00      
                                       You were the one that couldn't see it            01/01/70 00:00      
                                          I can see that , you are reveiling a BIG secret            01/01/70 00:00      
                                             thye irrelavancy is            01/01/70 00:00      
                                                Then you didnt ..            01/01/70 00:00      
   Application            01/01/70 00:00      
      Here's nearby pasific            01/01/70 00:00      
         If you had searched the web ...            01/01/70 00:00      
            OK thank's            01/01/70 00:00      
               Just build it            01/01/70 00:00      
                  Different between innovative and homemade            01/01/70 00:00      
                     You still haven't said what the problem is            01/01/70 00:00      
                     very expensive            01/01/70 00:00      
   but the question asked for code - not physical I/F            01/01/70 00:00      
      An ounce of work is better than pound of criticism            01/01/70 00:00      

Back to Subject List