twiddle.h
来自「CD_高级PALM编程」· C头文件 代码 · 共 35 行
H
35 行
/********************************************************************* FILE: Starter.h** DESCRIPTION: The header file for the Starter project module.* It contains contants and data type definitions.** VERSION: 1.0**********************************************************************/// Internal Constants#define APP_FILE_CREATOR 'PAKA' // Palm Algorithms for Killer Applications#define MIN_ROM_MAJOR 3#define MIN_ROM_MINOR 1#define MIN_ROM_VERSION sysMakeROMVersion ( MIN_ROM_MAJOR, MIN_ROM_MINOR, 0, sysROMStageDevelopment, 0 )#define mainFormBufferSize ( 256 )// Port configurationstatic const mainFormBaudRate = 9600;static const mainFormTimeOutIfNoResponse = 100;static const mainFormRecvWaitDelay = 10;static const mainFormRecvWaitBytes = 1;static const mainFormRecvMaxRetry = 4;static UInt8 fRetryCount = 0;// App launch codesstatic UInt32 mainFormTargetAppCreator = 'PAKa';// Event loop timer... poll for comms every 10 ticks if we're connectedstatic const mainFormEvtWaitWhenConnected = 10;#define mainFormEvtWait ( ( ConnectedPort() ? \ mainFormEvtWaitWhenConnected : evtWaitForever ) )void MainFormSendCommand( void );void MainFormValidateInput( Char *inputP );void MainFormLaunch();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?