Files
TEF6686_ESP32/include/utils.h
2026-01-06 13:32:25 +01:00

13 lines
204 B
C

#pragma once
#include <Arduino.h>
#include <math.h>
#include <stdint.h>
struct HSV {
float h;
float s;
float v;
};
HSV RGB565toHSV(uint16_t color);
uint16_t HSVtoRGB565(float h, float s, float v);