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

Back to Subject List

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


 
#52810 - RE: AT89s8252
Responding to: ???'s previous message
start: mov a,p0 ;read the switch
mov p1,a ;write to the led
sjmp start ;go to start
Got that code from a tut linked to from this page.

Use P1 for the switches and P0 for the LEDs - or - put 10k between each P0 pin and Vcc.
As to why read "the bible" ch3 address in links <---

Erik


List of 13 messages in thread
TopicAuthorDate
AT89s8252            01/01/70 00:00      
   RE: AT89s8252            01/01/70 00:00      
      RE: AT89s8252            01/01/70 00:00      
         RE: AT89s8252            01/01/70 00:00      
         RE: AT89s8252            01/01/70 00:00      
   RE: AT89s8252            01/01/70 00:00      
      RE: AT89s8252            01/01/70 00:00      
         RE: AT89s8252            01/01/70 00:00      
            RE: AT89s8252            01/01/70 00:00      
   RE: AT89s8252            01/01/70 00:00      
      RE: AT89s8252            01/01/70 00:00      
         RE: AT89s8252            01/01/70 00:00      
            RE: AT89s8252            01/01/70 00:00      

Back to Subject List