Home
last modified time | relevance | path

Searched refs:myLed (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/examples/javascript/
DBlink-IO.js28 var myLed = new m.Gpio(13); //LED hooked up to digital pin 13 (or built in pin on Galileo Gen1 & Ge… variable
29 myLed.dir(m.DIR_OUT); //set the gpio direction to output
34myLed.write(ledState?1:0); //if ledState is true then write a '1' (high) otherwise write a '0' (lo…