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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/21/05 14:27
Modified:
  07/21/05 14:32

Read: times


 
Msg Score: 0
 +1 Good Answer/Helpful
 -1 Overrated
#97735 - Port 1 output/input conflict.
Responding to: ???'s previous message
Hello Mr. U Kaz,

I think Mr. Abhishek Singh has found your problem.
http://www.8052.com/profile.phtml?MID=8804

Why do you make port 1 an output and then try to make it input data?
MOV P0,#00H 
MOV P1,#00H             <--- port 0 assigned as output here
MOV P2,#00H 
MOV P3,#00H 
.....
HERE: 	JNB P1.7, HERE  <--- then you try to make it an input here

CALL DEBOUNCE           <--- where is the second test of switch?

Mr. Abhishek Singh also wonders why you don't re-test P1.7 again. Isn't that the purpose of Debouncing?

Regards,

Charles Bannister

List of 31 messages in thread
TopicAuthorDate
Help with Assembly Code            01/01/70 00:00      
   Just one question            01/01/70 00:00      
   REPLY            01/01/70 00:00      
      74HC244            01/01/70 00:00      
   Some Possibilities:            01/01/70 00:00      
   Don't be surprised ...            01/01/70 00:00      
      Do not use TABs!            01/01/70 00:00      
         Right, but I meant            01/01/70 00:00      
            in case of Keil            01/01/70 00:00      
               Sharp eye !            01/01/70 00:00      
   re:mehdi & don't be surprised            01/01/70 00:00      
      RC Reset!!!            01/01/70 00:00      
   could you explain            01/01/70 00:00      
   Port 1 output/input conflict.            01/01/70 00:00      
      port 0 assigned as output            01/01/70 00:00      
         hiding the point            01/01/70 00:00      
   RE: Input/Output port            01/01/70 00:00      
      infinite loop            01/01/70 00:00      
      port            01/01/70 00:00      
         terminology            01/01/70 00:00      
         re: Erik Malund            01/01/70 00:00      
            killing your '51            01/01/70 00:00      
               re: killing your '51            01/01/70 00:00      
                  Negative logic            01/01/70 00:00      
                  0 and 1            01/01/70 00:00      
            I know it is not "in" to read before act            01/01/70 00:00      
   Pullups?            01/01/70 00:00      
      Well ... maybe not with TTL ...            01/01/70 00:00      
         strictly speaking,for 74LS...            01/01/70 00:00      
         oh yes?            01/01/70 00:00      
   re: re: got it            01/01/70 00:00      

Back to Subject List