Interfaçage NeoPixel Ring 12, LPRO MECSE, Arnaud A.
Diff: button.cpp
- Revision:
- 2:fd11fb4d51f8
- Parent:
- 1:3ce68d55dfb8
- Child:
- 4:b4c30f6f526e
--- a/button.cpp Mon Jun 15 00:40:49 2020 +0000 +++ b/button.cpp Mon Jun 15 02:01:15 2020 +0000 @@ -62,3 +62,7 @@ uint8_t* Button::getText(){ return m_text; } + +void Button::setBackgroundColor(uint32_t color){ + m_bgColor = color; +} \ No newline at end of file