函数功能:调光控制函数voidControlunsignedcharcmdunsignedcharch{unsignedcharidldh;unsignedintdatas;dhcmd;ifch1dh|0x80;dldh;datasdl;datas|dh<<8;最终要发送的数据为16位高8位命令低8位取反效验