- 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:
2025-09-07 08:55:39 +02:00
parent 714b5be13c
commit 128d42c586
66 changed files with 29943 additions and 225 deletions

43
Firmware/Core1_ADC.h Normal file
View File

@@ -0,0 +1,43 @@
/*
* ADC.h
*
* Created: Tue Sep 13 2022 19:51:15
* Author Chris
*/
#ifndef CORE1_ADC_H_
#define CORE1_ADC_H_
// ============================================================================================
// Includes
#include <stdlib.h>
#include <stdbool.h>
#include <inttypes.h>
#include "pico/types.h"
#include "pico/stdlib.h"
// ============================================================================================
// Defines
#define ADC_CHANNEL_POT1 3
#define ADC_CHANNEL_POT2 0
#define ADC_CHANNEL_POT3 2
#define ADC_CHANNEL_SUPPLY 1
#define ADC_CHANNEL_SHUNT 4
#define ADC_CHANNEL_REF 5
#define ADC_CHANNEL_GND1 6
#define ADC_CHANNEL_GND2 7
// ============================================================================================
// Datatypes
// ============================================================================================
// Function Declarations
void Core1_ADC_Init();
uint16_t Core1_ADC_Get_Result_Value();
uint16_t Core1_ADC_Get_Result_mV();
#endif /* CORE1_ADC_H_ */