代码搜索结果
找到约 10,000 项符合
LED 的代码
led.c
// 实验5.1 发光二极管的显示编程
#include "ledcfg.h"
#include "evmdm642.h"
#include "evmdm642_led.h"
void main()
{
EVMDM642_init(); // 初始化BSL
EVMDM642_LED_init(); // 初始化BSL的指示灯模块
}
void L
led.asm
ORG 00H
START: MOV DPTR,#TABLE ;指针指向表头地址
S1: MOV A,#00H ;设置地址偏移量
MOVC A,@A+DPTR ;查表取得段码,送A存储
CJNE A,#01H,S2 ;判断段码是否为结束符
LJMP START
S2: MOV P0,A ;段码送LED显示
led.h
/*-----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support - ROUSSET -
*-------------------------------------------------
led.c
/*-----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support - ROUSSET -
*-------------------------------------------------
led.h
/**********************************************************************
*
* Filename: led.h
*
* Description: Header file for LED-related functionality.
*
* Notes: The constants i
led.c
/**********************************************************************
*
* Filename: led.c
*
* Description: LED-related functionality.
*
* Notes: The constants in this file are