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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/10/07 03:13
Read: times


 
Msg Score: -2
 -2 Off-Topic
#144189 - 8051 in C programming
Responding to: ???'s previous message
hi...i'm a new to C programming and i started to do the project with 8051 with character based lcd. i'm having problem in initializing the lcd in C programming...i have some codes for assembly this...and i do not know how to convert to C coding...The LCD which i'm using is PC 0802-A,character based lcd. here's the sample codes in assembly---->

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
EN EQU P3.7
RS EQU P3.6
RW EQU P3.5

I understand how to define ports in assembly but not in C. anybody please help me. load of thanks

List of 13 messages in thread
TopicAuthorDate
help required with array manipulation in c#            01/01/70 00:00      
   just having formatted            01/01/70 00:00      
   array not float?            01/01/70 00:00      
      Try This            01/01/70 00:00      
         but be sure to comment it carefully!            01/01/70 00:00      
   Why do you keep saying C# ??            01/01/70 00:00      
   Two things that are definitly wrong            01/01/70 00:00      
      Two things wrong with thing 1            01/01/70 00:00      
         Sorry and Thanks            01/01/70 00:00      
   Also..            01/01/70 00:00      
      ...and, 8051 specifically            01/01/70 00:00      
         8051 in C programming            01/01/70 00:00      
            first and second            01/01/70 00:00      

Back to Subject List