代码搜索结果
找到约 10,000 项符合
LED 的代码
led.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="F:\xz\2407C\1led\"
ProjectType=Executable
CPUFamily=TMS320C24XX
Tool="Compiler"
Too
led.c
//(2) 主程序
// 该程序用于实验演示模板上的8个LED的循环显示
#include "register.h"
int temp,i;
main() // 初始化子程序
{
asm(" setc SXM"); // 抑制符号位扩展
asm(" clrc OVM"); // 累加
led.mak
/************* Code Composer V1 Project Data ********************
The following section contains data generated by Code Composer
to store project information like build options, source filenames
led.c
/*********************************************************************************************
* File: light.c
* Author: embest
* Desc: control board's two LEDs on or offf
* History:
**********
led.h
/*H**************************************************************************
* NAME: led.h
*----------------------------------------------------------------------------
* Copyrigh
led.h
#ifndef _led_h_
#define _led_h_
#include
#include "mytype.h"
#define LedIO P2
sbit LED1 = LedIO^0;
sbit LED2 = LedIO^1;
sbit LED3 = LedIO^2;
sbit LED4 = LedIO^3;
sbit LED5 =