📄 main.c
字号:
#include <hidef.h> /* common defines and macros */
#include <mc9s12dg128.h> /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc9s12dg128b"
#define uch unsigned char
extern void HardwareInit(void);
extern void PCCommunicate(void);
extern void set_motor(uch,uch);
extern void set_DJ(unsigned short);
extern void get_pic(void);
uch pic[40][40],a[40][38];
uch gpline,gppoint,gpflag,mdelay;
uch mabs(uch a,uch b) {
if(a>=b)
return((uch)(a-b));
else
return((uch)(b-a));
}
uch * image_proc(void) {
}
void main(void) {
uch i,j,q,iline;
uch * p;
unsigned short total,dnum;
HardwareInit();
mdelay=27;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -