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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/30/09 19:32
Modified:
  09/30/09 19:34

Read: times


 
#169310 - LCD Tutorial and assembler help please
Hello,
I have some questions about the LCD tutorial.
I'm using Keil and Proview32(I prefer Proview32) for some 8051 projects and decided to learn more, using this tutorial. I have some problems understanding the directives though.
I've searched documentation and still am not sure.

DB0 EQU P1.0
DB1 EQU P1.1
DB2 EQU P1.2
DB3 EQU P1.3
DB4 EQU P1.4  
DB5 EQU P1.5 
DB6 EQU P1.6
DB7 EQU P1.7
EN EQU P3.7
RS EQU P3.6
RW EQU P3.5
DATA EQU P1
 

i understand that i might have to declare some of these DB constants like this:
DB x,y,z
 

but what how would i go about equating constants?
DB EQU x, EQU y, EQU z
 

will that work?
also, I'm not sure my assembler recgonizes EN, RS, or RW.
I cannot find this in the docs. Can someone please help?

thanks
Malik


List of 23 messages in thread
TopicAuthorDate
LCD Tutorial and assembler help please            01/01/70 00:00      
   Understand meaning of EQU and DB            01/01/70 00:00      
      Wow didn't realize!            01/01/70 00:00      
         Your assembler manual...            01/01/70 00:00      
            ..thanks            01/01/70 00:00      
         Try understanding the LCD requirements, too!            01/01/70 00:00      
            I've played around with LCDs before            01/01/70 00:00      
               You can't avoid the study.            01/01/70 00:00      
         Hmm but also...            01/01/70 00:00      
            Yes, that is what the manual says!            01/01/70 00:00      
   LCD interfacing tutorials            01/01/70 00:00      
      Author affiliation            01/01/70 00:00      
      RE: Seven-Segment LED Display            01/01/70 00:00      
         Single resistor only ok with multiplexing            01/01/70 00:00      
            Multiplexing segments?            01/01/70 00:00      
               No, I don't think so            01/01/70 00:00      
               It was common in the days of LED-display calculators            01/01/70 00:00      
                  Technology moves forward            01/01/70 00:00      
                     Not much thought goes into some of those displays            01/01/70 00:00      
                        HP printers            01/01/70 00:00      
                           Good backlight on HPLJ too            01/01/70 00:00      
                           Yes, I've noticed that ... however ...            01/01/70 00:00      
         RE: Seven Segment Display Tutorial            01/01/70 00:00      

Back to Subject List