port.h

来自「Embedded C 这本书的范例光碟程式」· C头文件 代码 · 共 20 行

H
20
字号
#ifndef _PORT_H
#define _PORT_H

#include "Main.H"

// ------ Menu_A.C ----------------------------------------------
// Uses whole of Port 1 and Port 2 for data acquisition 
#define Data_Port1 P1
#define Data_Port2 P2

// ------ PC_IO.C -----------------------------------------------
    
// Pins 3.0 and 3.1 used for RS-232 interface

#endif




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?