NerdKits - electronics education for a digital generation

You are not logged in. [log in]

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
saleem's Avatar

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

Post a Reply

Please log in to post a reply.

Did you know that a piezoelectric buzzer can be used to play music with your microcontroller? Learn more...