sbstjn / noduino

JavaScript and Node.js Framework for controlling Arduino with HTML and WebSockets
http://sbstjn.github.io/noduino/
1.23k stars 232 forks source link

LED.on() action not turning on leds #33

Open sebastienb opened 10 years ago

sebastienb commented 10 years ago

Using the default example I switch the .blink action to .on and it doesn't work

board.withLED({pin: 12}, function(err, LED) {
          if (err) { return console.log(err); }
          LED.on();
          LED.on('on', function(e) {
            console.log('LED is on!');
          });
        });