Searched refs:off (Results 1 - 25 of 55) sorted by relevance

123

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dgroveelectromagnet.js32 electromagnet_obj.off();
36 // Turn magnet on and off every 5 seconds
43 electromagnet_obj.off();
44 console.log("Turning magnet " + ((magnetState) ? "on" : "off"));
47 // When exiting: clear interval, turn off magnet, run memory cleanup, and print message
51 electromagnet_obj.off();
H A Dgroveeldriver.js40 eldriver_obj.off();
44 // When exiting: turn off EL wire, clear interval, and print message
48 eldriver_obj.off();
H A Dgrove_mcfled.js33 // This way, the LED turns off when you quit the program
39 // When exiting: turn off LED, clear interval, and print message
43 myled.off();
H A Dgroveled.js34 // Turn the LED on and off 10 times, pausing one second
41 led.off();
H A Dgroverelay.js42 relay.off();
44 console.log(relay.name() + " is off");
/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dgroveelectromagnet.cxx53 magnet->off();
58 // Turn magnet on and off every 5 seconds
67 magnet->off();
68 cout << "Turning magnet " << ((magnetState) ? "on" : "off") << endl;
74 magnet->off();
H A Dgroveeldriver.cxx55 eldriver->off();
61 eldriver->off();
H A Dgroveled-multi.cxx50 // own until turned off.
62 led->off();
H A Dgroveled.cxx41 // Turn the LED on and off 10 times, pausing one second
46 led->off();
H A Dgroverelay.cxx47 relay->off();
49 std::cout << relay->name() << " is off" << std::endl;
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dgroveled.py32 # Turn the LED on and off 10 times, pausing one second
37 led.off()
H A Dgroveeldriver.py40 myEldriver.off()
54 myEldriver.off()
H A Dgroveelectromagnet.py41 myElectromagnet.off()
51 # Turn magnet on and off every 5 seconds
57 myElectromagnet.off()
58 print "Turning magnet", ("on" if magnetState else "off")
H A Dgroverelay.py38 relay.off()
40 print relay.name(), 'is off'
/hardware/bsp/intel/peripheral/libupm/src/groveeldriver/
H A Dgroveeldriver.h71 * Turns the EL wire off
73 void off();
H A Dgroveeldriver.cxx56 void GroveElDriver::off() function in class:GroveElDriver
/hardware/bsp/intel/peripheral/libupm/src/groveelectromagnet/
H A Dgroveelectromagnet.h70 * Turns the magnet off
72 void off();
H A Dgroveelectromagnet.cxx56 void GroveElectromagnet::off() function in class:GroveElectromagnet
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_read_bit_buffer.c17 const size_t off = rb->bit_offset; local
18 const size_t p = off / CHAR_BIT;
19 const int q = CHAR_BIT - 1 - (int)off % CHAR_BIT;
25 rb->bit_offset = off + 1;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_write_bit_buffer.c18 const int off = (int)wb->bit_offset; local
19 const int p = off / CHAR_BIT;
20 const int q = CHAR_BIT - 1 - off % CHAR_BIT;
27 wb->bit_offset = off + 1;
/hardware/bsp/intel/peripheral/libupm/examples/java/
H A DGroveLEDSample.java42 led.off();
H A DGroveRelaySample.java46 relay.off();
48 System.out.println("Relay is off");
/hardware/bsp/intel/peripheral/libupm/src/cjq4435/
H A Dcjq4435.h101 * between 0.0 (always off) and 1.0 (always on). It represents a
115 * Shortcut to turn the output to continuous off (low)
117 void off();
/hardware/qcom/power/
H A Dpower.c63 static void sync_thread(int off) argument
76 if (!off) {
89 static void enc_boost(int off) argument
102 if (!off) {
/hardware/bsp/intel/peripheral/libupm/src/grove/
H A Dgrove.h82 * Turns the LED on or off, depending on the value.
85 * or negative values, the LED is turned off.
88 * or off (for values <1)
94 * Turns the LED off
98 mraa_result_t off();
141 * Sets the relay switch to off (open). This stops current
146 mraa_result_t off();
156 * @return True if the switch is off (open), false otherwise

Completed in 280 milliseconds

123