Some times it prints console while I'm not pressing button. Some times prints 2-3 times on a button press. Some times it doesn't print anything. So, I can't understand which is the real button press event;
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.
Hello,
I'm using setwatch to detetch keypress events. I wired up a pin as button. Voltage flows as "5V -> Button -> E2 Pin"
I'm using STMF32F4 Discovery.
Here is my code :
Some times it prints console while I'm not pressing button. Some times prints 2-3 times on a button press. Some times it doesn't print anything. So, I can't understand which is the real button press event;
Here is the output :