Searched refs:on (Results 51 - 75 of 299) sorted by relevance

1234567891011>>

/hardware/qcom/camera/QCamera2/
H A DQCamera2Factory.h54 static int set_torch_mode(const char* camera_id, bool on);
66 int setTorchMode(const char* camera_id, bool on);
/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dgroveeldriver.cxx45 // Instantiate a Grove El Driver on digital pin D2
53 eldriver->on();
H A Dgroverelay.cxx39 // waiting one second each time. The LED on the relay switch
40 // will light up when the switch is on (closed).
43 relay->on();
45 std::cout << relay->name() << " is on" << std::endl;
/hardware/bsp/intel/peripheral/libupm/examples/java/
H A DGroveRelaySample.java41 relay.on();
43 System.out.println("Relay is on");
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dadc121c021.js30 // Instantiate an ADC121C021 on I2C bus 0
45 process.on('SIGINT', function()
H A Dbmpx8x.js30 // load this on i2c
51 process.on('SIGINT', function()
H A Dcjq4435.js34 // Instantiate a CJQ4435 MOSFET on a PWM capable digital pin D3
40 // A note on timing:
57 // We start with a duty cycle of 0.0 (off) and increment to 1.0 (on)
59 // starting with a duty cycle of 1.0 (on) and decrement to 0.0 (off)
79 process.on('SIGINT', function()
H A Dgrovecollision.js30 // Instantiate a Grove Collision on digital pin D2
54 process.on('SIGINT', function()
H A Dgroveo2.js29 // Instantiate a GroveO2 on analog pin A0
44 process.on('SIGINT', function()
H A Dgrovevdiv.js28 // Instantiate a Grove Voltage Divider sensor on analog pin A0
46 process.on('SIGINT', function()
H A Dguvas12d.js30 // Instantiate a UV sensor on analog pin A0
52 process.on('SIGINT', function()
H A Dina132.js29 // Instantiate an INA132 on analog pin A0
46 process.on('SIGINT', function()
H A Djoystick12.js30 // Instantiate a joystick on analog pins A0 and A1
50 process.on('SIGINT', function()
H A Dmq2.js55 process.on('SIGINT', function()
H A Dmq3.js56 process.on('SIGINT', function()
H A Dmq303a.js31 // Instantiate an mq303a sensor on analog pin A0
74 process.on('SIGINT', function()
H A Dmq4.js56 process.on('SIGINT', function()
H A Dmq5.js53 process.on('SIGINT', function()
H A Dmq6.js56 process.on('SIGINT', function()
H A Dmq7.js56 process.on('SIGINT', function()
H A Dmq8.js56 process.on('SIGINT', function()
H A Dmq9.js52 process.on('SIGINT', function()
H A Dmy9221.js35 // A note on timing:
67 process.on('SIGINT', function()
H A Dta12200.js28 // Instantiate a TA12-200 sensor on analog pin A0
43 process.on('SIGINT', function()
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dgroveeldriver.py28 # Instantiate a Grove El Driver on digital pin D2
37 # This function lets you run code on exit, including functions from myEldriver
52 myEldriver.on()

Completed in 1813 milliseconds

1234567891011>>