?? harder.h
字號:
#ifndef _HARDER_H
#define _HARDER_H
#define SetPin(PinNum) IOSET = (1<<PinNum)
#define ClrPin(PinNum) IOCLR = (1<<PinNum)
#define GetPin(PinNum) ((IOPIN>>PinNum) & 1)
extern void CplPin(unsigned char PinNum);
extern void SetPinMode(unsigned char PinNum,unsigned char mode,unsigned char InOrOut);
extern void LedLight(int LedNum,int Status);
extern void LedFlash(int LedNum,int FlashNum);
extern void Beep(int Num);
extern void Display(unsigned char dat);
#define LED1 10
#define LED2 11
#define LED3 12
#define LED4 13
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -