Skip to content

Commit

Permalink
Expander: PCF8591, fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jun 2, 2015
1 parent e4a15fd commit 1e42e2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions docs/expander-PCF8591.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@ var board = new five.Board();

board.on("ready", function() {
var virtual = new five.Board.Virtual(
new five.Expander({
controller: "PCF8591",
// vref:
})
new five.Expander("PCF8591")
);

var a = new five.Sensor({
pin: "A3",
pin: "A0",
board: virtual
});

Expand Down
7 changes: 2 additions & 5 deletions eg/expander-PCF8591.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ var board = new five.Board();

board.on("ready", function() {
var virtual = new five.Board.Virtual(
new five.Expander({
controller: "PCF8591",
// vref:
})
new five.Expander("PCF8591")
);

var a = new five.Sensor({
pin: "A3",
pin: "A0",
board: virtual
});

Expand Down

0 comments on commit 1e42e2f

Please sign in to comment.