代码搜索:LEDS
找到约 3,223 项符合「LEDS」的源代码
代码结果 3,223
www.eeworm.com/read/253157/12241741
c led.c
#define IN_TGPIO
#include "config.h"
#define LEDS8 16 // P2[23:16] controle LED8~LED1
int main(void)
{
int fd;
uint8 i, val;
fd = open("/dev/P2", O_RDONLY);
if(fd == -1)
{
www.eeworm.com/read/164463/10106753
h led.h
/*
* Defines for the LED device driver.
*
* This driver uses ioctl() calls to get information about the LEDS
* and to set their values.
*
* This currently only supports mono and bicolor LEDs, bu
www.eeworm.com/read/486853/1246522
makefile
EXEC = leds.ko
OBJS = magic-leds.o
SRC = magic-leds.c
INCLUDE = /zylinux/kernel/include
USEINC =.
CC = arm-linux-gcc
LD = arm-linux-ld
MODCFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE -I$(INCL
www.eeworm.com/read/238530/4614309
makefile
EXEC = leds.ko
OBJS = magic-leds.o
SRC = magic-leds.c
INCLUDE = /zylinux/kernel/include
USEINC =.
CC = arm-linux-gcc
LD = arm-linux-ld
MODCFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE -I$(INCL
www.eeworm.com/read/221382/4832710
makefile
EXEC = leds.ko
OBJS = magic-leds.o
SRC = magic-leds.c
INCLUDE = /zylinux/kernel/include
USEINC =.
CC = arm-linux-gcc
LD = arm-linux-ld
MODCFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE -I$(INCL
www.eeworm.com/read/344511/3208225
blf fpga_project2_body.blf
.model FPGA_Project2
.inputs CLK_REF
.inputs JTAG_NEXUS_TCK
.inputs JTAG_NEXUS_TDI
.outputs JTAG_NEXUS_TDO
.inputs JTAG_NEXUS_TMS
.outputs LEDS
.outputs LEDS
.outputs LEDS
.outputs L
www.eeworm.com/read/402579/2319084
sh diag.sh
#!/bin/sh
# Copyright (C) 2007 OpenWrt.org
set_led() {
local state="$1"
[ -d "/sys/class/leds/lhs-led0" ] && echo "$state" > "/sys/class/leds/lhs-led0/brightness"
[ -d "/sys/class/leds/lhs-led1" ]
www.eeworm.com/read/299143/7886090
readme
APPLICATION: EMBEDDED "Hello, world!" USING LEDs AND INTERRUPTS
The following sample application will flash LEDs connected to PORTB of a
PIC18F452 microcontroller. The command line used to build
www.eeworm.com/read/387424/8684387
naf mico8.naf
nReset i
CLK_IN i
RXD_A i
DIP8[7] i
DIP8[6] i
DIP8[5] i
DIP8[4] i
DIP8[3] i
DIP8[2] i
DIP8[1] i
DIP8[0] i
RXD_B i
RC5_PWR o
Mico_WR o
Mico_RD o
INTAck o
www.eeworm.com/read/423226/10578284
cmd .built-in.o.cmd
cmd_arch/arm/mach-davinci/built-in.o := arm_v5t_le-ld -EL -r -o arch/arm/mach-davinci/built-in.o arch/arm/mach-davinci/time.o arch/arm/mach-davinci/irq.o arch/arm/mach-davinci/dma.o arch/arm/mach-d