I have a Bangle.js 2 which no longer wakes up at a BTN1 press. I've completely cleaned the watch ('Remove all Apps' and 'Install default Apps' from https://banglejs.com/apps/) , but to no extent.
When in the Web IDE, I can indeed see that the BTN1 pin stays at zero, whether pressed or not.
One could assume hardware failure, but the strange thing is that after a 'pinMode(BTN1)' statement, a digitalRead does react as expected.
>setInterval(function(){print(digitalRead(BTN1))},1000)
=1
0
0
// Various BTN1 presses following
0
0
0
0
0
0
0
0
0
0
0
>pinMode(BTN1)
=undefined
0
0
//BTN 1 detected !!!
1
0
1
1
0
1
0
1
1
>
// Here the watch suddenly shows 'loading' and returns to the normal screen with non-functional BTN1
Then after a few seconds, out of the blue, the watch shows 'loading...', the normal screen reappears and BTN1 is again disfunctional (!).
So, I guess one of my previous experiments has 'destroyed' the normal functioning of BTN1 and I cannot restore it back to normal ?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have a Bangle.js 2 which no longer wakes up at a BTN1 press. I've completely cleaned the watch ('Remove all Apps' and 'Install default Apps' from https://banglejs.com/apps/) , but to no extent.
When in the Web IDE, I can indeed see that the BTN1 pin stays at zero, whether pressed or not.
One could assume hardware failure, but the strange thing is that after a 'pinMode(BTN1)' statement, a digitalRead does react as expected.
Then after a few seconds, out of the blue, the watch shows 'loading...', the normal screen reappears and BTN1 is again disfunctional (!).
So, I guess one of my previous experiments has 'destroyed' the normal functioning of BTN1 and I cannot restore it back to normal ?
The 'settings.json' looks normal to me
Anything I can try ?