You've already forked TEF6686_ESP32
little clean up
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
class RdsPiBuffer
|
||||
{
|
||||
class RdsPiBuffer {
|
||||
public:
|
||||
enum State : uint8_t {
|
||||
STATE_CORRECT = 0,
|
||||
|
||||
13
include/utils.h
Normal file
13
include/utils.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user