I am developing an application using FezHydra board. Is there any sample code or example that shows how to access the button on board (Reset Button) from program. I would like to use it as an interrupt port.
Also, when I add modules to the board using the designer, I can access them from Program class. However, when I want to access them from other classes, I pass them as arguments from the Program class. I am not sure if this the right way of accessing modules from other classes or I should use a specific namespace for this purpose.