📄 led.h
字号:
/******************************************************************************
* File Name: led.h *
* Create Time: 2007/7/14 *
* Description: 控制led的相关功能 *
* Copyright : *
* History : *
* |---Data---|---Author---|--Version--|--------------Description-------------|
*****************************************************************************/
#ifndef _LED_ /* Performed as a on-off, to avoid the header */
#define _LED_ /* file being included more than once */
/******************************
* Head File *
*****************************/
#include"at89x52.h"
/******************************
* Macros Segment *
*****************************/
#define uchar unsigned char
/******************************
* Function Declaration *
*****************************/
void ledScan(void); //数码管进行扫描
void DisPrint(long content);//将数码管的显示内容放入数据缓冲区
#endif
/*******************************************************************************
* The end of the entire file *
******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -