-
Wed 2020.02.05
'I tried the tutorial with the servo/flag'
Original tutorial
http://www.espruino.com/BLE+Communications'I am a person for learning by doing'
Ahhh, @user108865 a "Do, Think, Do" individual. . . .
Here are some "Think, Do, Think" examples . . . .
http://www.espruino.com/Puck.js+Controlling+Other+Pucks
http://www.espruino.com/Control+LED+with+Button
Creating a half second delay withsetTimeout()
Code snippets for detecting a double clickOne or double click the button and time duration for long or short press?
Hi,
I am new in programming via Javascript. I have a Puck.JS and a MDBT42Q and I wanna do a connection with Bluetooth and the following function:
If both devices powered up they should connect to each other automatically. Then the simple function, when I do a click with the Puck I will switch a digital output to high and turn on the led for maybe 0,5sec at MDBT42Q and on the Puck.
Is there also a possibility to detect double clicks?
I tried the tutorial with the servo/flag but the pairing starts when I push the button right? Thats why there is a delay for the incoming signal on the MDBT42Q.
Can you help me? I am a person for learning by doing but I got not forward here.
Greetings