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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/22/05 12:25
Read: times


 
#97808 - I know it is not "in" to read before act
Responding to: ???'s previous message
I have set all ports to '0' in start and then i give high signal on P1.7 EXTERNALLY, which further executes the rest of program. and P1.7 does go high even its been initialised as '0' in the start.and the logic works.
If you look at the picture of a port in "the bible" here I go again "read" you will see that if you write '0' to a port pin and externally apply Vcc directly (through a switch) to the pin, most likely, POOF goes a transistor. With that transistor out of the way, you can, of course read a '1' from a port to which you have written a '0'. HOWEVER, you will keep wondering "did anything else get damaged?".

The requirement of setting a port pin to '1' in order to be able to read it is ELEMENTARY. Thus for your own sake get to reading "the bible" before you do more damage.

I am so very sorry, I know it is not "in" to read before acting, and probably I am going totally agains your grain, but, in this case, - again I am sorry - it is required.

Erik

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