Skip to content

Commit

Permalink
updating function
Browse files Browse the repository at this point in the history
  • Loading branch information
readeral committed Aug 20, 2018
1 parent 62cd4b6 commit a9a07b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/nuimo-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ module.exports = function(RED) {
], 255, 2000);
});

function writeMatrix(instructions) {
this.writeMatrix = (instructions) => {
device.setLEDMatrix(instructions.ledArray, instructions.brightness, instructions.timeout, instructions.options);
};
}

device.connect();
});
Expand Down

0 comments on commit a9a07b3

Please sign in to comment.