Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

node: Led test code

  • Loading branch information...
commit 4903ff3d27b9c6645ecce697dd51d911d3d24e88 1 parent af05d5d
@thammi thammi authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 node_lib/test.js
View
5 node_lib/test.js
@@ -2,7 +2,10 @@ var buzz = require('./buzz.js');
b = new buzz.Buzz("/dev/ttyUSB0");
-b.set_led(1, 0);
+//b.set_led(0, 0, 1);
+b.set_led(0, 1, 1);
+//b.set_led(1, 0, 0);
+b.set_led(1, 1, 0);
b.on("button", function(key) {
console.log(key);

0 comments on commit 4903ff3

Please sign in to comment.
Something went wrong with that request. Please try again.