#WS2812

树莓派控制WS2812

https://tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips/    这个图只是个示意图,如果灯比较少直接树莓派5V供电如果灯比较多,可以参看上图的外接供电 &n...
代码星球 ·2020-08-30

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

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