/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
groveled.cxx | 35 // Create the Grove LED object using GPIO pin 2 36 upm::GroveLed* led = new upm::GroveLed(2); local 39 std::cout << led->name() << std::endl; 41 // Turn the LED on and off 10 times, pausing one second 44 led->on(); 46 led->off(); 50 // Delete the Grove LED object 51 delete led;
|
groveled-multi.cxx | 47 // Instantiate a grove LED on D2. Here we are controlling a Grove 48 // Multi-color flash LED. We just just need to turn it on - it will 51 upm::GroveLed* led = new upm::GroveLed(2); local 54 led->on(); 62 led->off(); 65 delete led;
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
groveled.py | 26 # Create the Grove LED object using GPIO pin 2 27 led = grove.GroveLed(2) variable 30 print led.name() 32 # Turn the LED on and off 10 times, pausing one second 35 led.on() 37 led.off() 40 # Delete the Grove LED object 41 del led
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
GroveLEDSample.java | 37 upm_grove.GroveLed led = new upm_grove.GroveLed(2); local 40 led.on(); 42 led.off(); 45 led.delete();
|
GroveLed_multiSample.java | 39 // Instantiate a grove LED on D2. Here we are controlling a Grove 40 // Multi-color flash LED. We just just need to turn it on - it will 43 upm_grove.GroveLed led = new upm_grove.GroveLed(2); local 46 led.on();
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
groveled.js | 28 // Create the Grove LED object using GPIO pin 2 29 var led = new groveSensor.GroveLed(2); 32 console.log(led.name()); 34 // Turn the LED on and off 10 times, pausing one second 39 led.on(); 41 led.off();
|
/external/iptables/extensions/ |
libxt_LED.c | 2 * libxt_LED.c - shared library add-on to iptables to add customized LED 26 {.name = "led-trigger-id", .id = O_LED_TRIGGER_ID, 30 {.name = "led-delay", .id = O_LED_DELAY, .type = XTTYPE_STRING}, 31 {.name = "led-always-blink", .id = O_LED_ALWAYS_BLINK, 40 "LED target options:\n" 41 "--led-trigger-id name suffix for led trigger name\n" 42 "--led-delay ms leave the LED on for this number of\n" 44 "--led-always-blink blink on arriving packets, even if\n 51 struct xt_led_info *led = cb->data; local 76 const struct xt_led_info *led = (void *)target->data; local 99 const struct xt_led_info *led = (void *)target->data; local [all...] |
/hardware/bsp/intel/peripheral/libupm/src/pca9685/ |
pca9685.cxx | 161 bool PCA9685::ledFullOn(uint8_t led, bool val) 163 if (led > 15 && (led != PCA9685_ALL_LED)) 166 ": led value must be between 0-15 or " + 174 if (led == PCA9685_ALL_LED) 177 regoff = REG_LED0_ON_L + (led * 4) + 1; 189 bool PCA9685::ledFullOff(uint8_t led, bool val) 191 if (led > 15 && (led != PCA9685_ALL_LED)) 194 ": led value must be between 0-15 or " [all...] |
pca9685.h | 35 // This is a 'special' LED number, used to refer to the ALL_LED registers 36 // that affect all LED outputs at once. 44 * @ingroup adafruit i2c led motor 50 * @type led motor 55 * @brief API for the PCA9685 16-channel, 12-bit PWM LED Controller 79 // LED output PWM control 146 REG_ALL_LED_ON_L = 0xfa, // write all LED ON L 147 REG_ALL_LED_ON_H = 0xfb, // write all LED ON H 148 REG_ALL_LED_OFF_L = 0xfc, // write all LED OFF L 149 REG_ALL_LED_OFF_H = 0xfd, // write all LED OFF [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/parse/ |
stringer.s | 7 ; Octal escapes used to consume > 3 chars which led to this
|
/frameworks/native/services/inputflinger/ |
EventHub.h | 245 /* LED related functions expect Android LED constants, not scan codes or HID usages */ 246 virtual bool hasLed(int32_t deviceId, int32_t led) const = 0; 247 virtual void setLedState(int32_t deviceId, int32_t led, bool on) = 0; 312 virtual bool hasLed(int32_t deviceId, int32_t led) const; 313 virtual void setLedState(int32_t deviceId, int32_t led, bool on); 414 status_t mapLed(Device* device, int32_t led, int32_t* outScanCode) const; 415 void setLedStateLocked(Device* device, int32_t led, bool on);
|
EventHub.cpp | 515 bool EventHub::hasLed(int32_t deviceId, int32_t led) const { 519 if (device && mapLed(device, led, &sc) == NO_ERROR) { 527 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { 530 setLedStateLocked(device, led, on); 533 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { 535 if (device && !device->isVirtual() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { [all...] |
InputReader.h | [all...] |
InputReader.cpp | 2398 getEventHub()->setLedState(getDeviceId(), led, desiredState); local [all...] |
/external/libweave/examples/daemon/ledflasher/ |
ledflasher.cc | 15 // Supported LED count on this device 24 "led": { 35 "led": { 142 // Simulate LED status on this device so client app could explore
|
/frameworks/native/include/input/ |
InputEventLabels.h | 25 #define DEFINE_LED(led) { #led, ALED_##led }
|
/frameworks/native/libs/input/ |
KeyLayoutMap.cpp | 217 } else if (keywordToken == "led") { 416 ALOGE("%s: Expected led %s number, got '%s'.", mTokenizer->getLocation().string(), 421 KeyedVector<int32_t, Led>& map = mapUsage ? mMap->mLedsByUsageCode : mMap->mLedsByScanCode; 423 ALOGE("%s: Duplicate entry for led %s '%s'.", mTokenizer->getLocation().string(), 432 ALOGE("%s: Expected LED code label, got '%s'.", mTokenizer->getLocation().string(), 438 ALOGD("Parsed led %s: code=%d, ledCode=%d.", 442 Led led; local 443 led.ledCode = ledCode; 444 map.add(code, led); [all...] |
/device/google/dragon/recovery/updater/ |
debug_ec.c | 721 param.set_rgb.led = strtoul(argv[1], &e, 16); 728 /* Only thing left is to try to read an LED value */ 731 param.get_rgb.led = strtoul(argv[1], &e, 0);
|
ec_commands.h | 1400 uint8_t led, red, green, blue; member in struct:ec_params_lightbar::__anon3150::__anon3154 1404 uint8_t led; member in struct:ec_params_lightbar::__anon3150::__anon3155 [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
FIXES | 131 line state ^ for RE's in the set of valid characters; this led to a [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
CameraDeviceClient.cpp | 1085 uint8_t led = entry.data.u8[i]; local [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputReader_test.cpp | 429 void addLed(int32_t deviceId, int32_t led, bool initialState) { 431 device->leds.add(led, initialState); 434 bool getLedState(int32_t deviceId, int32_t led) { 436 return device->leds.valueFor(led); 656 virtual bool hasLed(int32_t deviceId, int32_t led) const { 658 return device && device->leds.indexOfKey(led) >= 0; 661 virtual void setLedState(int32_t deviceId, int32_t led, bool on) { 664 ssize_t index = device->leds.indexOfKey(led); 666 device->leds.replaceValueAt(led, on); 669 << "Attempted to set the state of an LED that the EventHub declared [all...] |
/external/libunwind/doc/ |
libunwind.tex | 77 uncover the entire call-chain that led to the activation of function
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xlib.h | 460 int led; member in struct:__anon36441 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xlib.h | 457 int led; member in struct:__anon38304 [all...] |