LowPowerLab Forum

Hardware support => Moteino => Topic started by: Harout on February 21, 2023, 01:23:32 PM

Title: RFGateway (M4) - Second Button
Post by: Harout on February 21, 2023, 01:23:32 PM
How can I read the site of the second button (not the reset button) on the M4? I've tried reading D53 but that doesn't seem to be it.
Title: Re: RFGateway (M4) - Second Button
Post by: Felix on February 21, 2023, 03:17:48 PM
It is D53 but it is active low. You will have to set it to input_pullup and then look for a LOW on it when it's pressed.