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.

Support Forum » Interrupt, Confused, how to get it to work with two different pins.

August 30, 2010
by mikey
mikey's Avatar

slowly working on a 12 keypad lock thing and I just cant get it to really work because of the interrupts. I just need help on getting it two sorta work then i thinkk i can get it from there

-Mikey-

August 30, 2010
by hevans
(NerdKits Staff)

hevans's Avatar

Hi Mikey,

We will be glad to help you, but you need to give us more information as to where you are getting stuck. Have you taken a look at our interrupts video tutorial? That should get you started with pin change interrupts.

I would suggest first simplifying the problem by using the push button. This is a single button that will work much the same way your 12 button keypad works, but it will be easier to reason about in the code.

Humberto

Post a Reply

Please log in to post a reply.

Did you know that reading a double floating point variable with scanf requires "%lf" for "long float"? Learn more...