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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/01/05 04:28
Read: times


 
#98536 - Problem to write to port P0
Excuse me if my english fail.

I need to write some data to port P0. To do it i used one code like:

MOV A,#SBUF
MOV P0,A
MOV P1,A
MOV P2,A

The SBUF (data received from serial), is writed correctly to the ports P2 and P1, but not into the port P0. I used one LED to see these results. The only adtional hardware conected to the 89s52 is the MAX232, for the serial interface.

Where is the problem?

List of 5 messages in thread
TopicAuthorDate
Problem to write to port P0            01/01/70 00:00      
   P0 requires External Pull Ups            01/01/70 00:00      
   Ideas            01/01/70 00:00      
      typo?            01/01/70 00:00      
   thanks!            01/01/70 00:00      

Back to Subject List