#include #define uchar unsigned char #define uint unsigned int sbit led=P1^0; sbit key=P3^2; P1.0接输出, P3.2接按键。