代码搜索:LED控制
找到约 10,000 项符合「LED控制」的源代码
代码结果 10,000
www.eeworm.com/read/259928/4335977
cpp led.cpp
///////////////////////////////////////////////////////////////////////////////
// Led.cpp : implementation file
// Visual Source Safe: $Revision: 1 $
//
// Led static control. Will display a LED
www.eeworm.com/read/259059/4346618
java led.java
/*
* Copyright (c) 2006, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide
www.eeworm.com/read/259050/4347791
c led.c
/*****************************************************
* 文件名称:
* led.c
* 文件说明:显示的时候首先设置要显示的内容
* 然后使能相应的LED
*
*****************************************************/
#ifnd
www.eeworm.com/read/259050/4347847
c led.c
/*****************************************************
* 文件名称:
* led.c
* 文件说明:显示的时候首先设置要显示的内容
* 然后使能相应的LED
*
*****************************************************/
#ifnd
www.eeworm.com/read/259050/4347924
c led.c
/*****************************************************
* 文件名称:
* led.c
* 文件说明:显示的时候首先设置要显示的内容
* 然后使能相应的LED
*
*****************************************************/
#ifnd
www.eeworm.com/read/259050/4347964
c led.c
/*****************************************************
* 文件名称:
* led.c
* 文件说明:显示的时候首先设置要显示的内容
* 然后使能相应的LED
*
*****************************************************/
#ifnd
www.eeworm.com/read/259050/4348021
c led.c
/*****************************************************
* 文件名称:
* led.c
* 文件说明:显示的时候首先设置要显示的内容
* 然后使能相应的LED
*
*****************************************************/
#ifnd
www.eeworm.com/read/258246/4358020
h led.h
//led.h
void Delay (unsigned long a);
// init led port
void LedInit(void);
// single blink
void LedBlink(void);
// turn on led
void LedOn(void);
// turn off led
void LedOff(void);
www.eeworm.com/read/258246/4358026
c led.c
#include
#include "led.h"
void Delay (unsigned long a) { // 简单延时
while (--a!=0);
}
void LedInit(void) { // 初始化led端口
IO0DIR_bit.P0_31 = 1; // port0.31设为输出,LED
}
www.eeworm.com/read/258246/4358037
h led.h
//led.h
// init led port
void LedsInit(void);
// single blink led 1
void Led1Blink(void);
void Led1BlinkSlow(void);
// turn on led 1
void Led1On(void);
// turn off led 1
void Led1Off(void