Hey guys, Super stoked on the Espruino, looks like a great platform. That being said, just having some small issues getting started.
I've installed the Chrome App on OS X, and have a regular Espruino board.
Now, I've hooked up a DHT11 to a pin (I've tried B2, B3, C0, C1, C2).
However, using the IDE, I cannot transfer over my sketches. I'm trying simply to use the example provided.
var dht = require("DHT11").connect(whatever pin im trying);
dht.read(function (a) {
console.log("Temp is "+a.temp.toString()+" and RH is "+a.rh.toString());
});
and nothing happens when i try to send this to the espruino. It just hangs on
echo(0);
It seems to be an issue with importing modules, as the same happens for a BMP085. Is there something wrong?
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.
Hey guys, Super stoked on the Espruino, looks like a great platform. That being said, just having some small issues getting started.
I've installed the Chrome App on OS X, and have a regular Espruino board.
Now, I've hooked up a DHT11 to a pin (I've tried B2, B3, C0, C1, C2).
However, using the IDE, I cannot transfer over my sketches. I'm trying simply to use the example provided.
and nothing happens when i try to send this to the espruino. It just hangs on
It seems to be an issue with importing modules, as the same happens for a BMP085. Is there something wrong?