?? number.c
字號:
#define NUMBER_C
#include "includes.h"
//計(jì)數(shù)處理函數(shù)
//參數(shù)p1:時(shí)間數(shù)組名
//參數(shù)p2:顯示數(shù)組名
//功能:將計(jì)數(shù)值拆分為BCD碼的10分,分;10秒,秒
void process(unsigned char *p1,unsigned char *p2)
{
p2[0] = p1[0]/10;
p2[1] = p1[0]-p2[0]*10;
p2[2] = p1[1]/10;
p2[3] = p1[1]-p2[2]*10;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -