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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/16/07 09:04
Read: times


 
#139311 - please..., see good my question...
Responding to: ???'s previous message

Denis B said:
i want to write to xdata register with keypad and see the address and data on lcd.....


You need to consider this one step at a time:

1. how to interface a keypad;
2. how to write stuff to an LCD.

Then you just need to bring them together to achieve your complete goal.

Both of them have been thoroughly discussed before, and there is plenty of material on the web.

For the LCD, you coudl start with:
http://www.8052.com/tutlcd.phtml
http://www.8052.com/tutlcd2.phtml
and see: http://www.8052.com/forum/read.phtml?id=139205

... 8-))))) .... THNX..... IS DONE...
my question is not about THIS.....
keypad is working...
lcd is worling...
rtc is working....
.
.
.
.


how i can to write "scanf" function for LCD ????


You can't!
scanf is an input function; an LCD is an output device!

You will have to read the Manuals for your particular compiler to find out how to configure the standard 'C' input functions (scanf, etc) to receive input from custom devices (such as a keypad), and the standard 'C' output functions (printf, etc) to send output to custom devices (such as an LCD)

For Keil, it's here: http://www.keil.com/support/m...source.htm
other compilers will vary!

thnx...
it is a pity.....

List of 29 messages in thread
TopicAuthorDate
writing to XDATA with KEYPAD and displaing on LCD            01/01/70 00:00      
   One step at a time            01/01/70 00:00      
      please..., see good my question...            01/01/70 00:00      
      let\'s make the guesswork, then...            01/01/70 00:00      
         yes..            01/01/70 00:00      
            So where's the problem?            01/01/70 00:00      
               how?            01/01/70 00:00      
                  Links            01/01/70 00:00      
                     i am using a KEIL            01/01/70 00:00      
                        So you're sorted, then!            01/01/70 00:00      
                           .... ok .... but ......            01/01/70 00:00      
                              relevant            01/01/70 00:00      
                                 What is the "working" code?            01/01/70 00:00      
                                    this code is working in my 89c51rd2            01/01/70 00:00      
                                       so do something like...            01/01/70 00:00      
                                          here is a question !!!!            01/01/70 00:00      
                                             Style            01/01/70 00:00      
                                                this is far from...            01/01/70 00:00      
                                                   Style vs Substance            01/01/70 00:00      
                                                      OK I take that one back...            01/01/70 00:00      
                                                         Language-Independent            01/01/70 00:00      
         Here is a typical problem caused by HLL use            01/01/70 00:00      
            When the only tool you have is a hammer            01/01/70 00:00      
               yes, registers mapped into XDATA space ......            01/01/70 00:00      
               Then the entire world looks like a nail ...            01/01/70 00:00      
   XDATA Addresses            01/01/70 00:00      
      u r right..            01/01/70 00:00      
         Fair enough, but...            01/01/70 00:00      
            :-)) u r right...            01/01/70 00:00      

Back to Subject List