#彩灯

Arduino读取温湿度dh11+烟雾气体MQ2+彩灯ws2812

1获取温湿度D4-x信号线   #include<TroykaDHT.h>//типысенсоров:DHT11,DHT21,DHT22DHTdht(4,DHT11);voidsetup(){Serial.begin(9600);dht.begin();}voidloop()...

(2)小彩灯接收数据解析

  constsize_tt_bright=1,t_color=2,t_frequency=3,t_switch=4;intred=0,green=0,blue=0;inttype=2;//当前模式1亮度2颜色3呼吸4开关/**     *@Desc...
代码星球 ·2020-08-29

wfi彩灯

   ArduinoUno     共阳三色雾状LED灯Pin9     <---------->   红Pin10  &nbs...
代码星球 ·2020-08-29