Comments (1)
The NeoPixelAnimator was updated to support timescale. This allows it to use a different base time for each animation. So the time value passed to the animation is based on the value/flag passed to the animator class at construction.
NeoPixelAnimator(NeoPixelBus* bus, uint16_t timeScale = NEO_MILLISECONDS);
instantiates a NeoPixelAnimator object, associates it to the given bus, and defines the time scale used by the given value.
NEO_MILLISECONDS 1 // ~65 seconds max duration, ms updates
NEO_CENTISECONDS 10 // ~10.9 minutes max duration, centisecond updates
NEO_DECISECONDS 100 // ~1.8 hours max duration, decisecond updates
NEO_SECONDS 1000 // ~18.2 hours max duration, second updates
NEO_DECASECONDS 10000 // ~7.5 days, 10 second updates
so the time value in the following is based on the above
void StartAnimation(uint16_t n, uint16_t time, AnimUpdateCallback animUpdate)
from neopixelbus.
Related Issues (20)
- Support for WS2805 HOT 4
- 16 bit/channel RGBCW
- "Loop Sends" for repeating output stream on low memory builds. HOT 3
- Add NeoPixelBus to the External Library Testing for Espressif ESP32
- NeoPixelBus 2.7.8 example NeoPixelTest.ino will not compile for an ESP32-C3 using ESP32 Board v3.0.0-alpha3 HOT 14
- Support for TLC59711 chips HOT 5
- Add support for WS2805 HOT 1
- HD108 Support HOT 9
- Support for LED Curtains, Active tee/hook for each vertical drop HOT 4
- Support WS2814 LEDs HOT 3
- WS2815 support
- False positive error report HOT 5
- Add support for dynamic ColorFeature selection rather than static compiled into the type like today HOT 5
- SK6803 support
- WS2812 LEDs Display Incorrect Colors When WiFi is Connected
- Use Native type for loops that have large interations to save code size HOT 2
- ESP32 default method uses "legacy" RMT driver, conflicting with some cores HOT 3
- Doesn't compile on Arduino IDE V2.3.2 for an RP2040. HOT 3
- UCS8903 & UCS8904 don't have name specific method HOT 7
- NeoEspBitBangMethod does not work for pin numbers greater than 31 HOT 2
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 neopixelbus.