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
14
namespace
m5
{
15
namespace
unit
{
16
namespace
rgb
{
17
19
extern
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
m5::unit::rgb::hsv2rgb
uint32_t hsv2rgb(const uint8_t h, const uint8_t s, const uint8_t v)
HSV to RGB.
Definition
m5unit_rgb_utility.cpp:16
m5
Top level namespace of M5stack.
rgb
For M5Unit-RGB.
unit
Unit-related namespace.
src
utility
m5unit_rgb_utility.hpp
Generated by
1.11.0