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/06 21:44
Read: times


 
Msg Score: -3
 -1 Looks like homework
 -2 Gimmee Code
#120859 - Push button C program required
t is required to connect 4 push buttons to a 89c668 microcontroller.

When a key is pressed an interrupt is generated to read the key pressed.

The program should include

1. a 'debounce function' for mechanical bounce of the switches.

2. An interrupt service routine for the function

'void EX0_readKeyP(void)interrupt 0 {...}'

3. A 'main function' to set up the interrupt and place the key read into port 2 of the microcontroller.

Please help.

Many Thanks.

List of 10 messages in thread
TopicAuthorDate
Push button C program required            01/01/70 00:00      
   Is this paid work ?.. (no msg)            01/01/70 00:00      
      Push Button Code            01/01/70 00:00      
         C programming            01/01/70 00:00      
         Skipping lectures            01/01/70 00:00      
         VHDL / C            01/01/70 00:00      
         Obligations            01/01/70 00:00      
            Searching for answers            01/01/70 00:00      
   wrong approach            01/01/70 00:00      
   EXCELLENT!            01/01/70 00:00      

Back to Subject List