Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm building a puck-based program and would like to update a GATT characteristic when one of the built in nRF51822 buttons is pressed. But if I instantiate a InterruptIn as so:
I get a compiler error
What's the best way to do this with a puck project? I'm currently thinking of resorting to a Ticker, which seems like it can't be the best way....