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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/15/03 03:01
Read: times


 
#52630 - RE: One right way
Responding to: ???'s previous message

;P1.0 connected to LED + 330 Ohm resistor to Vcc
;P1.1 connected via  push to on switch to GND

         org 0H

         setb  P1.1      ; Define as input
  Loop:  mov   C,  P1.1
         jc    Loop      ; wait for switch activation
         mov   P1.0, C
         jmp   $         ; LED on till reset

         end


Raghu

   


List of 9 messages in thread
TopicAuthorDate
error !            01/01/70 00:00      
   RE: error !            01/01/70 00:00      
      RE: error !            01/01/70 00:00      
         RE: error !            01/01/70 00:00      
            RE: error !            01/01/70 00:00      
         RE: One right way            01/01/70 00:00      
            RE: Another excercise            01/01/70 00:00      
            RE: One right way            01/01/70 00:00      
         RE: error !            01/01/70 00:00      

Back to Subject List