noduino icon indicating copy to clipboard operation
noduino copied to clipboard

LED.on() action not turning on leds

Open sebastienb opened this issue 10 years ago • 0 comments

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!');
          });
        });

sebastienb avatar Jul 06 '14 19:07 sebastienb