aboutsummaryrefslogtreecommitdiff
path: root/include/pattern.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2025-09-30 13:06:16 -0600
committerJosh Rahm <joshuarahm@gmail.com>2025-09-30 13:06:16 -0600
commit290d784950b6248782b049cd9831bd6e034fd538 (patch)
treec231c02e92ed83a02b234a85b3c07bcc5e44b168 /include/pattern.h
parentf89f75b5616de99865448f41b068a2783cd3648e (diff)
downloadch573-main.tar.gz
ch573-main.tar.bz2
ch573-main.zip
Add a bunch. Neglected doing commits.HEADmain
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.h5
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);
+