tempmon.h
来自「Tinyos LEACH protocol modify」· C头文件 代码 · 共 19 行
H
19 行
/*
* TempMon.h - A header file containing structures for the Temperature Monitor application
*
* @author Geoff Martin
* @date 18th April 2004
* @version 1.0
*/
enum
{
TIMER_RATE = 5000, // Send a message every 5 seconds
AM_TEMPMONMSG = 10,
};
typedef struct TempMonMsg
{
uint16_t address;
uint32_t timestamp;
uint16_t reading;
} __attribute__ ((packed)) TempMonMsg;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?