RoboticsBrno / SmartLeds

🚦 Simple & intuitive way to drive various smart LEDs on ESP32.
MIT License
28 stars 12 forks source link

Colors should provide std::get #8

Open yaqwsx opened 6 years ago

yaqwsx commented 6 years ago

...so C++17 tuple unpack could work:

Rgb color;
auto [r, g, b] = color;