-
Firmware 1v79
I have a noisy button on B5.
The default debounce setting (10ms) per setWatch() docs doesn't seem to do anything. When I add debounce: 20 (or any value), it prevents the callback from getting any args. Code below.
Recommendations?
var button=B5; pinMode(button, 'input_pulldown'); function buttonPressed(info) { console.log(info); // [ undefined ] info.time; // Uncaught Error: Field or method "time" does not already exist, and can't create it on undefined } setWatch(buttonPressed,button, {repeat:true,debounce:200});
-
Brewbit Model T has a STM32VF205, which appears to have enough memory to run Espruino, but I can't tell whether the CC3000 connections are on the expected pins, mostly because the schematics I'm finding for the official F103 aren't showing how the processor pins map to the Espruino-labeled pins.
I'm interested in using this hardware not least for its Wifi connectivity, but also because it has two temperature probes and will switch two AC ports.
https://github.com/brewbit/model-t-electÂronics
http://discourse.brewbit.com/t/model-t-rÂesources/17It connects to the Wifi controller as indicated here:
I figure I'll probably need to recompile the Esprino firmware to support the CC3000 connected this way, which I'm not (yet) familiar with... any hints toward that would be appreciated too.
Then there's flashing Espruino to this hardware, which I suppose is even more fundamental. They provide processor breakouts - seems quite similar to some of the "unofficial" hardware. All suggestions welcome.
R
I want to get more Espruino Pico. Timeline?