Skip to content
Permalink
Browse files

Migrate to ESPAsyncE131

  • Loading branch information
Aircoookie committed Nov 18, 2019
1 parent 3aacb71 commit 6eae6db46b085b05eb7fdf6fa4cdc8ec6226b346
@@ -31,6 +31,7 @@ lib_deps_external =
FastLED@3.3.2
NeoPixelBus@2.5.1
ESPAsyncTCP@1.2.0
ESPAsyncUDP@1.1.0
AsyncTCP@1.0.3
Esp Async WebServer@1.2.0
#ArduinoJson@5.13.5
@@ -58,3 +58,9 @@ Uses Linearicons by Perxis!
Join the Discord [server](https://discord.gg/KuqP7NE) to discuss everything about WLED!
You can also send me mails to [dev.aircoookie@gmail.com](mailto:dev.aircoookie@gmail.com).
If WLED really brightens up your every day, you can [![](https://img.shields.io/badge/send%20me%20a%20small%20gift-paypal-blue.svg?style=flat-square)](https://paypal.me/aircoookie)

*Disclaimer:*
If you are sensitive to photoeleptic seizures it is not recommended that you use this software.
In case you still want to try, don't use strobe, lighting or noise modes or high effect speed settings.
As per the MIT license, i assume no liability for any damage to you or any other person or equipment.

@@ -388,6 +388,7 @@ class WS2812FX {
color_from_palette(uint16_t, bool, bool, uint8_t, uint8_t pbri = 255),
color_blend(uint32_t,uint32_t,uint8_t),
gamma32(uint32_t),
getLastShow(void),
getPixelColor(uint16_t),
getColor(void);

@@ -76,7 +76,6 @@ void WS2812FX::service() {
if(doShow) {
yield();
show();
_lastShow = millis();
}
_triggered = false;
}
@@ -243,6 +242,7 @@ void WS2812FX::show(void) {
}

bus->Show();
_lastShow = millis();
}

void WS2812FX::trigger() {
@@ -438,6 +438,10 @@ WS2812FX::Segment* WS2812FX::getSegments(void) {
return _segments;
}

uint32_t WS2812FX::getLastShow(void) {
return _lastShow;
}

void WS2812FX::setSegment(uint8_t n, uint16_t i1, uint16_t i2) {
if (n >= MAX_NUM_SEGMENTS) return;
Segment& seg = _segments[n];

This file was deleted.

This file was deleted.

0 comments on commit 6eae6db

Please sign in to comment.
You can’t perform that action at this time.