Open nightvisi0n opened 6 years ago
Ok! What do you want to use the interrupts for? I was considering making ’take’ an interrupt but it seems fast enough.
Am 01.01.2018 um 17:55 schrieb Julian notifications@github.com:
Currently we poll the I/O expander pins for state changes of the input buttons. The I/O port expander (MCP23017) can issue interrupts on two pins whenever one of all the input pins changes (see datasheet page 24). We should catch these interrupts in order to save cpu cycles for other things and in order to guarantee that we don't miss any button press. However, this means we have to modify the current hardware (connect INTA and/or INTB of each I/O expander to the arduino) and the software.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/benjaminwand/voctoknopf1/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnHpoxZmM--ESd555yOJTbw-hLuzLYLks5tGQ3mgaJpZM4RQHiE.
Currently we poll the I/O expander pins for state changes of the input buttons.
The I/O port expander (MCP23017) can issue interrupts on two pins whenever one of all the input pins changes (see datasheet page 24).
We should catch these interrupts in order to save cpu cycles for other things and in order to guarantee that we don't miss any button press.
However, this means we have to modify the current hardware (connect
INTA
and/orINTB
of each I/O expander to the arduino) and the software.