Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#pragma once
#include <cstdint>
namespace Espfc::Hal {
struct RgbColor
{
uint8_t r = 0;
uint8_t g = 0;
uint8_t b = 0;
};
class RgbLed
{
public:
void begin(int8_t pin);
void write(const RgbColor& color);
private:
int8_t _pin = -1;
};
} // namespace Espfc::Hal
66c1bda98This file is pinned to the selected release. Download the original to open it in your design tool.