From b651b0b1ddece0a2644eff9b2e392ad404e01bb8 Mon Sep 17 00:00:00 2001 From: Debashish Sahu Date: Wed, 6 Mar 2019 10:38:19 -0500 Subject: [PATCH] Gamma and todo - Gamma correction to LEDs - Added stuff to todo --- Arduino/McLighting/McLighting.ino | 1 + Arduino/McLighting/version_info.ino | 1 + README.md | 1 + 3 files changed, 3 insertions(+) diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 09b19ef..b17f83a 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -264,6 +264,7 @@ void initStrip(uint16_t stripSize = WS2812FXStripSettings.stripSize, neoPixelTyp strip->setSpeed(convertSpeed(ws2812fx_speed)); //strip->setMode(ws2812fx_mode); strip->setColor(main_color.red, main_color.green, main_color.blue); + strip->setOptions(0, GAMMA); // We only have one WS2812FX segment, set color to human readable GAMMA correction #ifdef CUSTOM_WS2812FX_ANIMATIONS strip->setCustomMode(F("Fire 2012"), myCustomEffect); #endif diff --git a/Arduino/McLighting/version_info.ino b/Arduino/McLighting/version_info.ino index e82c097..fa3a695 100644 --- a/Arduino/McLighting/version_info.ino +++ b/Arduino/McLighting/version_info.ino @@ -77,4 +77,5 @@ * - Added file for custom WS2812FX animations in custom slots * - Rename varaibles to be char instead of String * - Added LED pixel count and PIN settings to WiFiManager + * - Gamma correction to LEDs */ diff --git a/README.md b/README.md index 763bbef..a95aec5 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ I hope I didn't miss any sources and mentioned every author. In case I forgot so - [ ] Multiple buttons/GPIO Inputs. [Issue](https://github.com/toblum/McLighting/issues/119) - [ ] IR remote support [issue](https://github.com/toblum/McLightingUI/issues/3) - [ ] Make number of pixels, MQTT and PIN configurable via front end [Issue](https://github.com/toblum/McLighting/issues/93) and [Issue](https://github.com/toblum/McLighting/issues/272) +- [ ] Make switching between methods: Adafruit NeoPixel, NeoPixelBus's DMA, NeoPixelBus's UART1 and NeoPixelBus's UART2 via REST API - [x] Make number of pixels, RGB Order and PIN configurable via REST API - [x] Bundle webpages instead of SPIFFS [Issue](https://github.com/toblum/McLighting/issues/93) - [x] Music visualizer / Bring back ArtNet [Issue](https://github.com/toblum/McLighting/issues/111)