NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » external interrupt
|
December 21, 2009 by saleem |
Hi, I am a newbie to microcontroller. I have a switch on PC5 and an LED on PC4. I would like a code to generate an interrupt when I push the switch at PC5. I have done this using polling but I would like to do this the interrup way. FOR Learning purposes. Thx Saleem |
|---|
Please log in to post a reply.
|
Did you know that binary numbers use base 2 to represent numbers, and these are important for understanding microcontroller registers? Learn more...
|