1.硬件 51最小系统 继电器模块 433无线收发模块 2.软件 #include "reg52.h" sbit D0_ON = P1^2;//433无线收发模块的按键A sbit D1_OFF = P1^3;//433无线收发模块的按键B sbit switcher