chjok 发表于 2015-9-10 10:35 例如在uart.c里定义 char temp; 在uart.h里 extern char temp; 在main.c里即可直接用 temp=0xff;