Skip to content

Instantly share code, notes, and snippets.

View deepcoder's full-sized avatar

Dave Proffer deepcoder

View GitHub Profile
@error454
error454 / gist:6b94c46d1f7512ffe5ee
Last active May 14, 2020 22:17
Convert RGB to CIE Color Space
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):
@fabianoriccardi
fabianoriccardi / Comparison Espressif ESP MCUs.md
Last active June 17, 2024 04:02
Comparison table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

Comparison table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

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