modm API documentation
modm::ui::RgbLed Class Reference

#include <modm/ui/led/rgb.hpp>

Public Member Functions

 RgbLed (Led &red, Led &green, Led &blue)
 
void setColor (::modm::color::Rgb color)
 
inline::modm::color::Rgb getColor ()
 
bool isFading ()
 
void fadeTo (::modm::color::Rgb color, uint16_t time)
 
void update ()
 should be called every 1ms or more.
 

Detailed Description

Group three LEDs into a RGB controller

Author
Niklas Hauser

The documentation for this class was generated from the following file: