⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settings.h

📁 adios在windows的实现
💻 H
字号:
/* Project settings, easier than setting them on the command line. */

// Enable/diable modules
//#define ADIOS_NO_APP				// Enable this if you're just tweaking the Kernel API
//#define ADIOS_USE_CLI				// I hope to have a CLI at some point
//#define ADIOS_USE_GC				// Enable this if you have lots of threads that will end
#define ADIOS_USE_COM				// Enable this if you wish to use the com port

#define ADIOS_VERSION_TEXT			"Beta 2 (01-11-2001)"

#define ADIOS_THREADS_MAX			15

#define ADIOS_SEMAPHORES_MAX		128

#define ADIOS_TIMERS				2
#define ADIOS_TIMERS_FREQ			100
#define ADIOS_TIMERS_MAX			15

// Garbage collection frequency
#define ADIOS_GC_TIMER				1		// ID of the timer
#define ADIOS_GC_FREQ				3000	// 3 second interval

// Com port settings
#define ADIOS_COM					"COM1:"
#define ADIOS_COM_PORT_OPENED		0
#define ADIOS_COM_PORT_FAILED	   -1
#define	ADIOS_COM_BAUDRATE			115200
//#define	ADIOS_COM_BAUDRATE			9600
#define	ADIOS_COM_BITESIZE			8
#define	ADIOS_COM_PARITY			NOPARITY
#define	ADIOS_COM_STOPBITS			ONESTOPBIT
#define	ADIOS_COM_TIMEOUT_WRITE		200
#define	ADIOS_COM_TIMEOUT_READ		200

⌨️ 快捷键说明

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