M5Unit-RGB 0.0.1 git rev:55cb205
Loading...
Searching...
No Matches
m5unit_rgb_utility.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 M5Stack Technology CO LTD
3 *
4 * SPDX-License-Identifier: MIT
5 */
10#ifndef M5_UNIT_RGB_UTILITY_M5UNIT_RGB_UTILITY_HPP
11#define M5_UNIT_RGB_UTILITY_M5UNIT_RGB_UTILITY_HPP
12#include <cstdint>
13
14namespace m5 {
15namespace unit {
16namespace rgb {
17
19extern uint32_t hsv2rgb(const uint8_t h, const uint8_t s, const uint8_t v);
20
21} // namespace rgb
22} // namespace unit
23} // namespace m5
24
25#endif
uint32_t hsv2rgb(const uint8_t h, const uint8_t s, const uint8_t v)
HSV to RGB.
Definition m5unit_rgb_utility.cpp:16
Top level namespace of M5stack.
For M5Unit-RGB.
Unit-related namespace.