Searched refs:myLed (Results 1 – 1 of 1) sorted by relevance
28 var myLed = new m.Gpio(13); //LED hooked up to digital pin 13 (or built in pin on Galileo Gen1 & Ge… variable29 myLed.dir(m.DIR_OUT); //set the gpio direction to output34 …myLed.write(ledState?1:0); //if ledState is true then write a '1' (high) otherwise write a '0' (lo…