add PCA9685 testing, add support for one-time run and cleanup functions

This commit is contained in:
2025-03-08 22:33:55 +02:00
parent 77f8faba9e
commit 5785093138
17 changed files with 10834 additions and 40 deletions

2
Core/Inc/PCA9685.h Normal file
View File

@@ -0,0 +1,2 @@
void PCA9685_run_test(void);
void PCA9685_cleanup(void);

View File

@@ -1,6 +1,8 @@
#ifndef __LCD
#define __LCD
#include <stdint.h>
#define DISPLAY_RS ((uint16_t) (0x1U << 7))
#define DISPLAY_RW ((uint16_t) (0x1U << 10))
#define DISPLAY_ENA ((uint16_t) (0x1U << 11))

View File

@@ -53,7 +53,7 @@
/* #define HAL_SRAM_MODULE_ENABLED */
/* #define HAL_SDRAM_MODULE_ENABLED */
/* #define HAL_HASH_MODULE_ENABLED */
/* #define HAL_I2C_MODULE_ENABLED */
#define HAL_I2C_MODULE_ENABLED
/* #define HAL_I2S_MODULE_ENABLED */
/* #define HAL_IWDG_MODULE_ENABLED */
/* #define HAL_LTDC_MODULE_ENABLED */