I would like to know when a module has been disconnected from the mainboard but think this might be out of the scope of what Gadgeteer was created for, does anyone know where I might start or if it is already possible?
Because right now if I have a joystick printing out its X and Y coords, when it is removed it just keeps sending 0.5,0.5 which makes me think the mainboard doesn’t have an event or any knowledge it has been disconnected.
The connectors used are not hot plugging. Meaning that if you connect/disconnect a module while the board is powered you could damage the board/module.
Eep! Glad to hear this before I damaged anything…guess I’ve dodged a bullet so far, as I must confess that I’ve plugged/unplugged while the board was running. Will avoid that in future. :-[