wash.h

来自「because I can not get the download right」· C头文件 代码 · 共 26 行

H
26
字号
//ICC-AVR application builder : 2006-12-30 21:44:52
// Target : M128
// Crystal: 1.0000Mhz


#define KMAX0 	 20
#define KMAX1	 90
#define KBRD	 ((~PINF) & 3);
#define AddOn	 PORTD=(switchway) & 0x01;
#define AddOff	 PORTD=0;
#define DecOn	 PORTD=(switchway) & 0x80;
#define DecOff	 PORTD=0;

#pragma interrupt_handler timer0_100ms_isr:16	   // Key Service, BeepOperation

void port_init(void);
void init_devices(void);
void timer_init(void);
void timer0_100ms_isr(void);
void Beep(int num, int delay);
void Light(int st);
int	 ReadPara(int s);
char switchway;


⌨️ 快捷键说明

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