Files
RP2350_MIDI_Lighter/Firmware/Hue.h
Chris 128d42c586 - Fixed drawing of round objects (Circles, Rounded Rects) using a lookup table
- Added function to read out the display_buffer via USB-Serial
 - Added basic structure and files for later complete firmware (still in progress)
 - Added Doc folder with schematic in it
 - Added Python script and batch file to read out the display buffer and open the image in gimp
2025-09-07 08:55:39 +02:00

37 lines
772 B
C

/*
* Hue.h
*
* Created: Sun Jan 29 2023 10:49:43
* Author Chris
*/
#ifndef HUE_H_
#define HUE_H_
// ============================================================================================
// Includes
#include <stdlib.h>
#include <stdbool.h>
#include <inttypes.h>
#include "pico/types.h"
// ============================================================================================
// Defines
#define HUE_MAX_ANGLE 360
// ============================================================================================
// Datatypes
typedef uint Pixel_Value;
// ============================================================================================
// Function Declarations
Pixel_Value Hue_Get_Color_From_Angle(int hue_angle);
#endif /* HUE_H_ */