OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:led
(Results
1 - 25
of
42
) sorted by null
1
2
/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
...]
/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
...]
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/gc/
mparith3.go
234
// of-range exponent would have underflowed and
led
to 0.
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
mparith3.go
231
// of-range exponent would have underflowed and
led
to 0.
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/compile/internal/gc/
mparith3.go
234
// of-range exponent would have underflowed and
led
to 0.
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
mparith3.go
231
// of-range exponent would have underflowed and
led
to 0.
/prebuilts/go/darwin-x86/src/runtime/pprof/
pprof.go
27
// that
led
to instances of a particular event, such as allocation.
38
// threadcreate - stack traces that
led
to the creation of new OS threads
39
// block - stack traces that
led
to blocking on synchronization primitives
/prebuilts/go/linux-x86/src/runtime/pprof/
pprof.go
27
// that
led
to instances of a particular event, such as allocation.
38
// threadcreate - stack traces that
led
to the creation of new OS threads
39
// block - stack traces that
led
to blocking on synchronization primitives
/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::__anon3152::__anon3156
1404
uint8_t
led
;
member in struct:ec_params_lightbar::__anon3152::__anon3157
[
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
1245
uint8_t
led
= entry.data.u8[i];
local
[
all
...]
Completed in 2911 milliseconds
1
2