Hi,
Thanks for creating this project, I'm hoping it's going to be really useful.
It appears that the arduino sketch does not compile due to the code in the callback method.
I think it's because the DigitalRead is trying to read from pin 10 which is initialised as an OUTPUT pin.