RoboJackets / robocup-software

Georgia Tech RoboJackets Software for the RoboCup Small Size League
Apache License 2.0
183 stars 187 forks source link

Enable support for interrupts on the digital IO expander #400

Closed justbuchanan closed 7 years ago

justbuchanan commented 9 years ago

The io expander (mcp23017) has 8 inputs and 8 outputs. We need to set up a system to interrupt the mbed when one of the input lines change.

cc @jjones646

justbuchanan commented 8 years ago

@jjones646 What's the status on this?

justbuchanan commented 8 years ago

@jjones646 is this something that we'll need or should I close this?

jjones646 commented 8 years ago

We'll need this.

justbuchanan commented 8 years ago

How would something like this work? It's connected via i2c, so what line(s) serve as the interrupt?

jjones646 commented 8 years ago

There's another line for the interrupt itself - should be defined in the pin declarations file. It's a fairly trivial thing to do, but the lack of testable hardware is definitely the burden here.

jgkamat commented 7 years ago

Closing due to timeout (and that this is firmware, not robocup-software).