This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using several interrupts pins and changing pin settings

Hello!

I am using a keyboard (4x3) and the rows are configured as input PD and columns as output set, after a successful interrupt, the columns and the rows shift settings meaning rows are set as output set and columns as input PD and the colums are READ after the interrupt.

The problem i encounter is that I cant detect or get a high value when using pin 5, when I changed the pin to 9 the interrupt worked. The problem is that some pins work and others not which can be frustrating.

Back to my question, which pins can I use as interrupt and which cant i use ? Is there any limit for using pins , which documents shall be read to get working interrupts ?

my pin conf:

> input pd 1 row 
> input pd 5 row
> input pd 3 row 
> input pd 4 row 
> output set 2 column
> output set 0 column 
> output set 6 column 
> wait 100ms 
> output set 1 row
> output set 5 row 
> output set 3 row
> output set 4 row
> input pd 2 column
> input pd 0 column 
> input pd 6 column

Regards,

Volkan Osmanli Coskun

Parents Reply Children
No Data
Related