aboutsummaryrefslogtreecommitdiff
path: root/include/drv/ws2812B
diff options
context:
space:
mode:
Diffstat (limited to 'include/drv/ws2812B')
-rw-r--r--include/drv/ws2812B/ws2812b.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drv/ws2812B/ws2812b.h b/include/drv/ws2812B/ws2812b.h
index cdbb41a..bc86cc5 100644
--- a/include/drv/ws2812B/ws2812b.h
+++ b/include/drv/ws2812B/ws2812b.h
@@ -15,4 +15,7 @@ static_assert(sizeof(rgb_t) == 3, "Sizeof rgb_t should be 3.");
uint8_t* ws2812b_compile_rgb(rgb_t* out, size_t arr_len);
+/* Returns sin((n - 128) / 256) * 256. */
+uint8_t byte_sin(uint8_t n);
+
#endif /* WS2812B_H_ */