1.独立按键控制灯 #include <reg51.h> typedef unsigned char u8; typedef unsigned int u16; sbit led1=P0^0; sbit k1=P2^7; void