bruhautomation / ESP-MQTT-JSON-Multisensor

(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!
https://youtu.be/jpjfVc-9IrQ
Apache License 2.0
340 stars 152 forks source link

Adapting the code to a Common Anode RGB LED #62

Open swamaway opened 5 years ago

swamaway commented 5 years ago

How should I adapt the code to support a Common anode RGB LED ? I have the second pin connected to 5V and the RGB pins attached as before.

Thank you