Could some one give me the interrupt on the 1286 IND I/O board? The example given is for the 32u4 board and shows this as Interrupt 4. Interrupt 4 on the 1286 board is used by the DOWN button.
We have recently worked on documentation on github, please find the section on IND.I/O interrupts at https://github.com/Industruino/libraries#interrupts
On the 1286 it uses INT7, and indeed there are interrupts for the membrane panel buttons too.
I also tried to use the interrupts on the 1296 board, but it dont work.
I used the example in this page: https://github.com/Industruino/libraries/blob/master/README.md#interrupts , the example for the 1286 board, but the interrupt is never executed.
I'm using the latest documentation.
What could be the problem?
My equipment is not recent (Fev./2015). It possible that there has been an update to the hardware? The photo of the base on the website, is different from my equipment.
I did use the new documentation but could not make it work.
I get a lot of hits while no interrupt is being created.
What I figured out is that PCINT7, which is PB7, shares ISR with OC0A and OC1C.
Edit: probably the correct pin is INT7, which is PE7.
I have been fiddling with timers and got some change in behaviour, but can't figure it out using any of the sample codes.
The keyboard example works perfectly, but not the external interrupt one.
But keyboard is on the top board, while external iterrupt must be routed to the Ind. I/O board somehow.
Another fact that baffles me is that PCINT7, which corresponds to PB7, is not being routed to the lower board through the 40-pin flat connector, so how can it receive interrupt signals?
Edit: But then also PE7 is not on the 40-pin flat connector either, so what is the correct interrupt pin?
Any help is most welcome!
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!