Ohh.
>console.log(NodeMCU.D5) D14
this is GPI14
My script
// Init ESP8266 var ESP8266 = require("ESP8266"); E.setClock(80); var dht = require("DHT11").connect(D14); //NodeMCU D5 var dht2 = function(){ dht.read( function(a){ console.log(a); },10); }; dht2(); { "err": true, "checksumError": false, "raw": "0100", "temp": -1, "rh": -1 }
@Aleksandrs 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.
Ohh.
this is GPI14
My script