-
Found this nice online ESP Stack Trace Decoder developed by Maxime BORGES.
-
-
Sharing a way how to setup neopixel, set color and send simple patterns - Many thanks to @Gordon who mentioned this possibility via Uint24Array().
// load module var np = require('neopixel'); // pin data line is attached to var NPP= D16; // number of neopixel var countNP = 100; // use Uint24Array to store an address single pixel var neopixelStrip = new Uint24Array(countNP); // set color for first and last pixel var color = {r:20,g:0,b:20}; var c = color.g + (color.r << 8) + (color.b << 16); neopixelStrip.buffer[0] = c; neopixelStrip.buffer[countNP-1] = c; // flip neopixel np.write(NPP, neopixelStrip.buffer);
Send a pattern all over the neopixel strip
// Solution A // simple pattern "_ _ Green _ _" var fiveLEDs = new Uint24Array(5); fiveLEDs[2] = 30; // fill buffer with a pattern array and count var nps = E.toUint8Array({data:fiveLEDs.buffer,count:20}); // Solution B // fill buffer with pattern for ( i = 2; i < countNP; i +=5 ) { neopixelStrip.buffer[i] = 30;
-
-
look for module https://www.espruino.com/tinyMQTT
-
-
-
-
-
-
-
-
@allObjects in vs code with extension espruino
-
@allObjects does your Mac detect ble devices in the connection list?
-
-
-
-
@MariusGundersen Which version of Node and OS are you running?
-
-
Can't run tests at the moment. The EspruinoTools are not running any more on my Mac, have to run some updates/downgrades. @MariusGundersen which setup are you using and especially which node version?
-
You can test with a build for LINUX
bin/espruino --telnet espruino: Interactive mode. espruino: Size of JsVar is now 27 bytes espruino: Size of JsVarRef is now 4 bytes espruino: Added SIGINT hook espruino: Added SIGHUP hook espruino: Added SIGTERM hook ____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v18.6 (c) 2021 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate >
check with lsof
lsof -n -P -i :2323 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME espruino 35833 markbecker 3u IPv4 0x849de14f55bcd49 0t0 TCP *:2323 (LISTEN)
and then connect
-
-
What kind of board do you have?
What is the output of
process.env