The code, with
D30 at 0 connected to SDO and
D31 at 1 connected to CSB.
digitalWrite(D30,0);
digitalWrite(D31,1);
var i2c = new I2C();
i2c.setup({scl:D2,sda:D1});
var bme = require("BMP280").connect(i2c);
console.log(bme.getData());
setInterval("console.log(bme.getData())",1000);
giving me the same figures as if nothing was connected:
I don't see where I am different from the BMP280 module page ...
I was checking with a buzzer and i do see that the beep coming from 3v and GND off the Puck is a lot stronger than the D30 D31 combination, kinda weak.. but that may be normal
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.
The code, with
D30 at 0 connected to SDO and
D31 at 1 connected to CSB.
giving me the same figures as if nothing was connected:
I don't see where I am different from the BMP280 module page ...
I was checking with a buzzer and i do see that the beep coming from 3v and GND off the Puck is a lot stronger than the D30 D31 combination, kinda weak.. but that may be normal