代码搜索结果

找到约 10,000 项符合 LED 的代码

led.cpp

// LED.cpp: implementation of the CLED class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "ParkSys.h" #include "LED.h" #include "vicp

led.c

/*************************************************************************** * Copyright

led.c

/*************************************************************************** * Copyright

led.c

#include "LED.h" void LED_Set(int index, enum LEDOPT opt) { int data = 0x0400

led.h

#ifndef __LED_H__ #define __LED_H__ #include "71x_lib.h" enum LEDOPT { LED_OFF, LED_ON, LED_TOGGLE }; inline void LED_Init(void) { GPIO_Config(GPIO2, 0x5400, GPIO_OUT_PP); GPIO_W

led.c

#include "LED.h" void LED_Set(u16 Port_Pin, enum LEDOPT opt) { switch(opt) { case LED_OFF: GPIO_WordWrite(GPIO2, GPIO_WordRead(GPIO2)&~Port_Pin); break; case LED_ON: GPIO_WordW

led.h

#ifndef __LED_H__ #define __LED_H__ #include "71x_lib.h" #define LED3 0x0400 #define LED4 0x1000 #define LED5 0x4000 enum LEDOPT { LED_OFF, LED_ON, LED_TOGGLE }; inline void LED_

led.c

#include "LED.h" void LED_Set(int index, enum LEDOPT opt) { int data = 0x0400

led.h

#ifndef __LED_H__ #define __LED_H__ #include "71x_lib.h" enum LEDOPT { LED_OFF, LED_ON, LED_TOGGLE }; inline void LED_Init(void) { GPIO_Config(GPIO2, 0x5400, GPIO_OUT_PP); GPIO_W

led.c

#include "LED.h" void LED_Set(int index, enum LEDOPT opt) { int data = 0x0400