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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/14/08 23:01
Read: times


 
Msg Score: -2
 -2 Looks like homework
#153309 - 8051 interrupt
Hi everyone,

I am new at 8051. I could not understand how they are used by heart. I could be something simple but I will be glad if someone can please help. Basically I am working on a traffic light simulation-will be run on emulator(address starts from 0800h). I need to set 2 interrupts to take immediate and specific functions depending on the button pressed. I don't want to send my program to the forum(if you really need to see it let me know) but I can explain it this way. Program is acontinuous loop. When B1(external button1) is pressed which is assigned to P3.3, P1.1 should be set to "1". and for B2(P3.2) P1.2 should be set to "1". Can anyone help me about this? I appreciate any help. Thank you

Erik.

List of 18 messages in thread
TopicAuthorDate
8051 interrupt            01/01/70 00:00      
   what language?            01/01/70 00:00      
      8051            01/01/70 00:00      
         Ok            01/01/70 00:00      
            Re: OK            01/01/70 00:00      
               As mentioned            01/01/70 00:00      
                  High, higher, highest...            01/01/70 00:00      
                  Re: As mentioned            01/01/70 00:00      
                     My words are not casual......            01/01/70 00:00      
            It's assembler            01/01/70 00:00      
   this may be help            01/01/70 00:00      
      external trigger address            01/01/70 00:00      
         Read the tutorials...            01/01/70 00:00      
         Check the emulator manual            01/01/70 00:00      
            +800            01/01/70 00:00      
               read andy's post above            01/01/70 00:00      
               RE: Does this make sense to you?            01/01/70 00:00      
   I am sorted            01/01/70 00:00      

Back to Subject List