diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2025-09-30 13:06:16 -0600 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2025-09-30 13:06:16 -0600 |
commit | 290d784950b6248782b049cd9831bd6e034fd538 (patch) | |
tree | c231c02e92ed83a02b234a85b3c07bcc5e44b168 /include/pattern.h | |
parent | f89f75b5616de99865448f41b068a2783cd3648e (diff) | |
download | ch573-290d784950b6248782b049cd9831bd6e034fd538.tar.gz ch573-290d784950b6248782b049cd9831bd6e034fd538.tar.bz2 ch573-290d784950b6248782b049cd9831bd6e034fd538.zip |
Add many different patterns, and organize it.
Add a voltage discovery subsystem to allow the ch573 to detect if it's
on 12v or 5v lights.
Diffstat (limited to 'include/pattern.h')
-rw-r--r-- | include/pattern.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pattern.h b/include/pattern.h index f5d0a1b..f56e1ec 100644 --- a/include/pattern.h +++ b/include/pattern.h @@ -24,3 +24,8 @@ extern pattern_t PATTERNS_END; #define patterns (&PATTERNS_START) #define n_patterns (&PATTERNS_END - &PATTERNS_START) + +rgb_t twinkle(uint32_t t, size_t x); + +rgb_t more_twinkle(uint32_t t, size_t x); + |