I have a circuit with a pushbutton and a transistor. As soon as I press the button, the board get's grounded and starts up. Then it outputs current at pin 14 (connected to the resistor) so the board stays on after the button is released. The LED is just used as an indicator.
This works as expected. But after the board is powered on there's no use for the button, so I want to use it for something else. But how can I read if the button is pressed or not?