board.on('ready', function() { const led = new five.Led('P1-13'); led.blink(); });
// Create board board.on("ready", function() { console.log('Succesfull connection'); // Create a standard `led` component instance var led = new five.Led(13); // "blink" the led in 500ms // on-off phase periods led.blink(500); });
board.on("ready", function() { var led = new five.Led(13); led.blink(500); console.log('Did you see a blink?'); });