Most recent activity
-
hello @AdaMan82
sometime pico have strange behavior too and crash with clean code.
reflashing take few seconds than trying to identify uncommon behavior in code is timeconsuming.
i downloaded last firmware to avoid low connexion :)
regards -
Thanks @Gordon .
i bought at lextronic french reseller (with more stock) sorry for that, i prefer buying on your shop)
i bought an MDBT42Q breakout to try and some pico cause i love form factor.
next week it's holliday and have some time to play withbest regards
é. -
ok nobody want helps?
is the Module MDBT42Q Breakout is enough to start?
convert it as a bluetooth HID like a keyboard?
i read some post about that.
if the device (the breakout) is detected as an hid bluetooth by the os, the html page doesn't have to detect an hid!? it's a keypress detected, no more.é.
-
Hello,
i'm new with bluetooth.
i would like to connect a rotary encoder to an ipad or an android phone and use the rotation in a web app.i'm able to connect the rotary and a pico board to an html page trough the HID feature on my computer.
but now i would like to communicate to a smart thing (small screen,,,) device via BT.Which board do i need to do that, is BT, the good solution ?
Please advice me.regards
éric
ps: @Gordon there is only one unpinned pico board in stock in the shop! really?
-
OK thank you @Gordon
the final solution was the pull_up
function onInit() { var value = 0; pinMode(A8, 'input_pullup'); pinMode(A5, 'input_pullup'); setWatch(function(e) { if (e.data) value++ else value--; print(value); }, A5, {data:A8, repeat:true, edge:'falling'}); }
the value increases and decreases according to the rotation.
é.
-
Hello @gordon
what is suppose to do?
e.data
is alwaysfalse
when it fire. So,value
stepdown what ever i turn clockwise or counterclockwise...regards
é.
-
-
no more answer than mine... okay it's not really interesting, nevermind... there is a glitch in the lib...
and my attempt is not 100% efficient.
if I turn the encoder quickly, the algorithm slips, and the number advances slowly with a step backwards from time to time...a better idea than mine?
regards
éric
I'm newb with espruino, not with arduino, not with js...
But i'm not a coding ninja