Thermometer - SI7020
Tessel with SI7020
Fritzing diagram: docs/breadboard/temperature-SI7020.fzz
Run this example from the command line with:
node eg/temperature-SI7020.js
var five = require("../");
var Tessel = require("tessel-io");
var board = new five.Board({
io: new Tessel()
});
board.on("ready", function() {
var temp = new five.Thermometer({
controller: "SI7020",
port: "A"
});
temp.on("change", function() {
console.log(this.celsius);
});
});
Illustrations / Photos
Arduino with SI7020
Fritzing diagram: docs/breadboard/temperature-SI7020-uno.fzz
Learn More
License
Copyright (c) 2012, 2013, 2014 Rick Waldron waldron.rick@gmail.com Licensed under the MIT license. Copyright (c) 2016 The Johnny-Five Contributors Licensed under the MIT license.