settings.h
来自「adios在windows的实现」· C头文件 代码 · 共 33 行
H
33 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?