A minimal table to compare the Espressif's MCU families.
ESP8266 | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | ESP32-C6 | |
---|---|---|---|---|---|---|
Announcement Date | 2014, August | 2016, September | 2019, September | 2020, December |
import math | |
# This is based on original code from http://stackoverflow.com/a/22649803 | |
def EnhanceColor(normalized): | |
if normalized > 0.04045: | |
return math.pow( (normalized + 0.055) / (1.0 + 0.055), 2.4) | |
else: | |
return normalized / 12.92 | |
def RGBtoXY(r, g, b): |