-
The exact output of s.send is
=new Uint8Array(6)
It prints "15". So do you have any idea how to fix it? It seems to be possible now to execute code from the Web IDE. I tried to set the storage (settings.json), but afterwards it stucks at boot and does not load the bangle logo. The code for setting the storage:
const storage = require('Storage'); storage.write("setting.json", {ble:true,blerepl:true,log:false,timeout:10,vibrate:true,beep:true,timezone:0,HID:false,clock:null,"12hour":false});
Any idea why it boots after setting storage and does not store it? I send it to RAM.
I think that the settings.json is broken. When I writevar s = require("Storage").readJSON("setting.json",1);
s is undefined.
it should show the values automatically unless it is all zeroes.
When checking the pinout, the CS pin is D21 which is normally a reset pin on NRF52832, just in case check if reset pin is enabled or disabled,
peek32(0x10001204).toString(16)
should give all FFs if D21 pin is free. If it prints "15" then I guess it may not work properly as CS pin.