Hi,
I have an mbed FRDM-KL25Z that has been operating for the last year or so in an automatic garage door opener at my house. But a few days ago it stopped working - I got it going again with a software hack but the problem appears to be hardware (?maybe?). I haven't changed anything in the hardware or software since it was installed a year ago (until tonight when I started trying to fix it). I have a digital input, set to PullUp, which is normally grounded - it is connected to a microswitch on the lid of external control panel, with the idea that if you unscrew the control panel, the switch breaks and the signal goes high and goes into a failsafe mode.
I have tested that the microswitch is fine, the signal is definitely grounded. But reading the DigitalIn on that pin always gives 1. Moreover, if I disconnect the switch and measure the voltage across the pin (which is PullUp), it is only about 1.5V. On other pins that are pulled up, the voltage is about 2.3 or higher.
I'm wondering what couild cause this - is it possible I have damaged that I/O pin somehow?
Hi,
I have an mbed FRDM-KL25Z that has been operating for the last year or so in an automatic garage door opener at my house. But a few days ago it stopped working - I got it going again with a software hack but the problem appears to be hardware (?maybe?). I haven't changed anything in the hardware or software since it was installed a year ago (until tonight when I started trying to fix it). I have a digital input, set to PullUp, which is normally grounded - it is connected to a microswitch on the lid of external control panel, with the idea that if you unscrew the control panel, the switch breaks and the signal goes high and goes into a failsafe mode.
I have tested that the microswitch is fine, the signal is definitely grounded. But reading the DigitalIn on that pin always gives 1. Moreover, if I disconnect the switch and measure the voltage across the pin (which is PullUp), it is only about 1.5V. On other pins that are pulled up, the voltage is about 2.3 or higher.
I'm wondering what couild cause this - is it possible I have damaged that I/O pin somehow?