- 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
This commit is contained in:
41
Firmware/Core1_LED_Control.h
Normal file
41
Firmware/Core1_LED_Control.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Core1_LED_Control.h
|
||||
*
|
||||
* Created: Wed Jan 12 2022 15:28:36
|
||||
* Author Chris
|
||||
*/
|
||||
#ifndef CORE1_LED_CONTROL_H_
|
||||
#define CORE1_LED_CONTROL_H_
|
||||
|
||||
// ============================================================================================
|
||||
// Includes
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "pico/time.h"
|
||||
#include "pico/types.h"
|
||||
|
||||
#include "Command_Definition.h"
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Defines
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Datatypes
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Function Declarations
|
||||
void Core1_LED_Control_Init(void);
|
||||
bool Core1_LED_Control_Get_Timer_Fired(void);
|
||||
|
||||
void Core1_LED_Control_Set_DC_Direct (enum LED_Channel channel, enum LED_Color color, uint8_t duty_cycle);
|
||||
void Core1_LED_Control_Set_DC_Target (enum LED_Channel channel, enum LED_Color color, uint8_t duty_cycle);
|
||||
uint8_t Core1_LED_Control_Get_DC (enum LED_Channel channel, enum LED_Color color);
|
||||
void Core1_LED_Control_Set_Fade_Speed(enum LED_Channel channel, uint8_t fade_speed);
|
||||
|
||||
void Core1_LED_Control_Set_Use_Color_Correction(bool use_color_correction);
|
||||
|
||||
#endif /* CORE1_LED_CONTROL_H_ */
|
||||
Reference in New Issue
Block a user