Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libmraa/examples/javascript/
DBlink-IO.js30 var ledState = true; //Boolean to hold the state of Led variable
34 …myLed.write(ledState?1:0); //if ledState is true then write a '1' (high) otherwise write a '0' (lo…
35 ledState = !ledState; //invert the ledState