-
Cool - To speed things up you can add
"compiled";
to your random value generator function like explained here JavaScript Compilation -
There is no module for this ic available.
Check this page for existing modules:
http://www.espruino.com/Modules
There are also some gpio extender available which you could use as a good starting point to build a SX1509 module.
-
first test with the NRF52LL module
var ll = require("NRF52LL"); var saadc = ll.saadc({ channels : [ { // channel 0 pin:D4, gain:1/4, tacq:40, refvdd:true, } ] }); setInterval(()=>{print(saadc.sample());},1E3); /* output [ 4 ] [ 12 ] [ 65528 ] [ 8 ] [ 4 ] [ 65524 ] [ 40 ] [ 0 ] [ 12 ] [ 12 ] [ 20 ] [ 16 ] [ 8 ] */
Is the result a 16 bit signed integer and presenting a -32767 to +32767 digital value ?
-
-
-
-
-
I only use Storage. Can you add a sample to reproduce the crash, or just add infos to https://github.com/espruino/Espruino/issues/1777
-
-
Waveform, just checked the list (https://github.com/espruino/Espruino/issues/1777) of open ESP32 issues. If it's broken please share some info to be added to the list of issues.
-
Well, tinyMQTT can not handle messages larger than 127 bytes.
-
-
-
-
-
serial attached
http://www.espruino.com/ESP8266
or spi
http://www.espruino.com/WIZnet
I use nrf52 and a WIZ850io clone with custom build firmware
-
Ok, look's like you still think your board is not the issue.
Please try this snippet and if it doesn't work you might be better with a different board.
var Wifi = require('Wifi'); var ssid = '<replace with your ssids name>'; var password = '<replace with your password>'; Wifi.stopAP(); Wifi.setConfig({phy : '11n', powersave : 'none'}); Wifi.connect(ssid, {password:password}, function(err) { if (err) { console.log('Wifi.connect(err):', err); } else { console.log('connected'); Wifi.save(); } });
-
@stumin Thanks fo sharing, make works. Let's mode this to a new conversation.
-
@stumin Thanks for sharing your test results. Is it possible to share how you managed to compile with the SDK? Would like to run some device tests and then we could think about switching to this SDK.
-
The ESP8266 is so limited that it's definitly not possible. ESP32 can do after deactivate of BLE or if you use a board with PSRAM