Comments (5)
I had a quick look yesterday, it should be possible.
As soon as I'm done with the new UI I'll take a closer look at this topic.
However, this may take some time because I currently can not spend much time.
from pixelit.
Unfortunately I was too optimistic here, I use FastLED to control the LEDs, this lib does not allow me to set the color order at runtime (FastLED/FastLED#282 (comment)).
I have to compile every color order and the memory of the ESP8266 doesn't support that, it's just too small.
from pixelit.
However, you can create a custom version where you only need to adjust the code in three places.
https://github.com/o0shojo0o/PixelIt/blob/c3429897945d4815e5970459dc6e1c4cc014d7b5/src/PixelIt.ino#L1990-L2003
For GRB it would look like this:
// Matrix Color Correction
if (userLEDCorrection != UncorrectedColor)
{
FastLED.addLeds<WS2812B, MATRIX_PIN, GRB>(leds, NUMMATRIX).setCorrection(userLEDCorrection);
}
else if (userColorTemp != UncorrectedTemperature)
{
FastLED.addLeds<WS2812B, MATRIX_PIN, GRB>(leds, NUMMATRIX).setTemperature(userColorTemp);
}
else
{
int *rgbArray = GetUserCutomCorrection();
FastLED.addLeds<WS2812B, MATRIX_PIN, GRB>(leds, NUMMATRIX).setCorrection(matrix->Color(rgbArray[0], rgbArray[1], rgbArray[2]));
}
from pixelit.
Which color order do you need?
from pixelit.
I'm pretty sure I need the WS2812B order
from pixelit.
Related Issues (20)
- Mini32 erorrs with AP HOT 3
- ESP32 Fixes HOT 8
- The matrix keeps dark HOT 2
- 16x16 matrices HOT 1
- OneWire breaks I2C HOT 1
- ESP8266-01S HOT 18
- VSC Compiling ends with errors - don't know why HOT 5
- mDNS Support? HOT 3
- How long are messages shown for? HOT 2
- FEATURE REQUEST: Ulanzi Pixel Clock Support HOT 9
- error in logs on flash HOT 3
- Feature Request: Update notifications on HomeAssistant HOT 2
- Node Red broken: TypeError: Cannot read properties of undefined (reading 'screenName') HOT 2
- Scrolling Text Speed HOT 3
- Color picker doesn't work HOT 1
- ESP32 d1_mini reconnection every few minutes HOT 1
- ESP32 d1_mini loose all settings after reboot HOT 1
- bme680 Reading Backwards? HOT 3
- Pixel HOT 1
- SAVE CONFIG button not clickable ESP32 d1mini esp32-d0wdq5 rev 3 HOT 27
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixelit.