📄 display_count.c
字号:
/*--------------------------------------------------------------*-
Display_count.C (v1.00)
Author:06_Digital_Media
All Right Reserved
-----------------------------------------------------------------
Display an unsigned char on a port
-*---------------------------------------------------------------*/
#include "Main.H"
#include "Port.H"
#include "Display_Count.H"
/*----------------------------------------------------------------*-
DISPLAY_COUNT_Init()
Initialization function for the DISPLAY COUNT library
-*--------------------------------------------------------------*/
void DISPLAY_COUNT_Init(void){
Count_port = 0x00;
}
/*--------------------------------------------------------------*-
DISPLAY_COUNT_Update()
Simple function to display tByte data(COUNT)
on LEDs connected to port (Count_Port)
-**-------------------------------------------------------------*/
void DISPLAY_COUNT_Update(const unsigned char COUNT){
Count_port = COUNT;
}
/*---------------------------------------------------------------*-
--------------END OF FILE -----------------------------------------
-*-----------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -