Skip to content

Commit

Permalink
Fix error on code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguelerja authored and rwaldron committed Jan 9, 2020
1 parent ca35432 commit 671434d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/temperature-lm35.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ node eg/temperature-lm35.js
const { Board, Thermometer } = require("johnny-five");
const board = new Board();

board().on("ready", () => {
board.on("ready", () => {
const thermometer = new Thermometer({
controller: "LM35",
pin: "A0"
Expand Down
2 changes: 1 addition & 1 deletion eg/temperature-lm35.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { Board, Thermometer } = require("../lib/johnny-five");
const board = new Board();

board().on("ready", () => {
board.on("ready", () => {
const thermometer = new Thermometer({
controller: "LM35",
pin: "A0"
Expand Down

0 comments on commit 671434d

Please sign in to comment.