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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/22/09 21:18
Read: times


 
Msg Score: -2
 -1 Gimmee Code
 -1 Didn't Search First
#162650 - How to set port as output
Responding to: ???'s previous message
Can anybody give me a C code which configure 8051 ports as output.The chip i am using is 89C51 and in the instruction set they didnt mention how to set it into output.I want to sent data to LCD but nothing happens when i run the sample code.I used port2 as data port.Any suggestion will be appreciated

List of 7 messages in thread
TopicAuthorDate
helo            01/01/70 00:00      
   FAQ: How to set the '51 port pin into input (output) mode?            01/01/70 00:00      
      How to set port as output            01/01/70 00:00      
         Dedicated instruction?            01/01/70 00:00      
         Maybe it's too soon to consider 'C'            01/01/70 00:00      
         Please read that FAQ (again).            01/01/70 00:00      
   Instruction sheet ?            01/01/70 00:00      

Back to Subject List