diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2025-12-07 00:36:35 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2025-12-07 00:36:35 -0700 |
| commit | 8c6fd7fd39a17216b1a12601a1ec943d557040c2 (patch) | |
| tree | 24d3b5cd1d92e7ec2ef6e4ab6e798f0eaa490b53 /include/pattern | |
| parent | 717506bcd31fbf7093876297cca9cfea0bc4dc08 (diff) | |
| download | esp32-ws2812b-8c6fd7fd39a17216b1a12601a1ec943d557040c2.tar.gz esp32-ws2812b-8c6fd7fd39a17216b1a12601a1ec943d557040c2.tar.bz2 esp32-ws2812b-8c6fd7fd39a17216b1a12601a1ec943d557040c2.zip | |
Add twinkle and a few more params and make the display less janky and
more robust.
Diffstat (limited to 'include/pattern')
| -rw-r--r-- | include/pattern/twinkle.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pattern/twinkle.h b/include/pattern/twinkle.h new file mode 100644 index 0000000..3dfe85f --- /dev/null +++ b/include/pattern/twinkle.h @@ -0,0 +1,6 @@ +#pragma once + +#include <stdint.h> +#include <stdlib.h> + +uint8_t twinkle(uint32_t time, size_t x, uint8_t); |