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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/21/06 20:16
Read: times


 
#112731 - no else if
Responding to: ???'s previous message
pin_5=1; // Input
while(1)
{
   if ( pin_5==1 ) // yea we got +5V From the sensor
   {
   // Blink An LED
   }
   else
   {
   // yea we got 0V from the sensor ??
   }
}



List of 14 messages in thread
TopicAuthorDate
About I/O 89C52            01/01/70 00:00      
   what about reading this thread            01/01/70 00:00      
   hmm ?            01/01/70 00:00      
   So, read it.            01/01/70 00:00      
      but            01/01/70 00:00      
         yes            01/01/70 00:00      
         reread the "bible"            01/01/70 00:00      
            so            01/01/70 00:00      
               bfore reading a 1 read the bible            01/01/70 00:00      
               Ports            01/01/70 00:00      
                  pullup + loading capacitance            01/01/70 00:00      
         No            01/01/70 00:00      
   so that's true ?            01/01/70 00:00      
      no else if            01/01/70 00:00      

Back to Subject List