-
Hi. Is it possible to do the WS2811 tutorials with a Puck? This page https://www.espruino.com/WS2811 says "the only condition is that the data wire is connected to an SPI MOSI port on the Espruino Board". Does the Puck have those?
I tried connecting it up using a separate 5v power source, but nothing happened when I ran the code.
Thanks,
Jonathan
-
Hi. I'm trying to read from a PIR sensor. I'm aware that the sensor requires 5V, so I'm using a separate power supply for now. The problem is that as soon as I switch connect the power, the signal constantly detected by the pin. Even if I just touch a screwdriver to the pin, instead of using the sensor, a signal is detected.
Am I doing something wrong?
setWatch(function() { console.log("Movement detected"); }, D1, {repeat:true, edge:"rising"});
Thanks.
-
@Gordon I only had to re-enable that flag and it started working again.
-
Great. I'll give that a go. Thanks.