Some times I have checksum errors on ESP.
getting DHT sensor values { "err": true, "checksumError": true, "raw": "010000000110111110000000001101", "temp": -1, "rh": -1 } Temp is -1 and RH is -1 E-Flags: [] { "free": 967, "usage": 633, "total": 1600, "history": 398 } { "sdkVersion": "1.5.0", "cpuFrequency": 160, "freeHeap": 9816, "maxCon": 10, "flashMap": "4MB:512/512", "flashKB": 4096, "flashChip": "0xe0 0x4016" } 183> < jshCanWatch = true 190708> > jshCanWatch: pin=0 190709> < jshCanWatch = true 191235> > jshCanWatch: pin=0 191236> < jshCanWatch = true 191761> > jshCanWatch: pin=0 191762> < jshCanWatch = true 192287> > jshCanWatch: pin=0 192287> < jshCanWatch = true getting DHT sensor values { "raw": "010000000110111110000000001101001010010001", "rh": 44.6, "temp": 21 } Temp is 21 and RH is 44.6
Added the debug things what @MaBe said:
setTimeout(function(){ console.log("E-Flags: ["+E.getErrorFlags()+"]\n\n"); console.log(process.memory()); console.log(ESP8266.getState()); }, 1000);
@hygy started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Some times I have checksum errors on ESP.
Added the debug things what @MaBe said: