balassy / wireless-thermometer

A network connected thermometer implemented with ESP8266, DHT22 and Visual Studio Code.
MIT License
1 stars 0 forks source link

Add RGB LED #23

Closed balassy closed 5 years ago

balassy commented 5 years ago

On-board blue: during boot Orange: during OTA update Red: OTA update failed Green: webrequest or temperature update

balassy commented 5 years ago

Common Anode: https://www.aliexpress.com/item/10pcs-lot-5MM-4PIN-RGB-Common-Anode-LED-Emitting-Diodes-Round-Clear-Lights-Lamp/32347384123.html Forward Voltage: R: 2.0-2.2 Green: 3.2-3.4 B: 3.2-3.4

https://www.hackster.io/techmirtz/using-common-cathode-and-common-anode-rgb-led-with-arduino-7f3aa9 http://microcontrollerkits.blogspot.com/2016/05/esp8266-wifi-control-rgbled.html https://github.com/chauhannaman98/ArduinoCodes/blob/master/Using-CC-CA-RGB-LED/sketch/common-anode/sketch.ino

LUA: https://randomnerdtutorials.com/esp8266-rgb-color-picker/

Common Cathode: http://www.iotlearning.net/code/esp8266-code/controlling-rgb-led-using-wemos-mini.php

balassy commented 5 years ago

Resolved with commit e5ab9a535677ee94c4e6f0b8e47fa2b8a0b8efbd.