measure.h
来自「这是一个远程温度计 MCU: AT89S52 温度传感器: DS18B20」· C头文件 代码 · 共 25 行
H
25 行
/******************************************************************************/
/* */
/* MEASURE.H: struct type and extern definitions for MEASURE project */
/* */
/******************************************************************************/
#include "type.h"
struct clock { /* structure of the clock record */
unsigned char hour; /* hour */
unsigned char min; /* minute */
unsigned char sec; /* second */
};
struct mrec { /* structure for measurement records */
struct clock time; /* time of measurement */
uchar temper[10]; /* temperature */
};
/* external functions: */
extern void measure_display (struct mrec disp); /* display mrec */
extern void set_time (uchar *buffer); /* set current time */
extern char code ERROR []; /* ERROR message string */
extern struct mrec current; /* current measurements */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?