add working test for PCA9685 and servos

This commit is contained in:
2026-11-18 14:49:09 +02:00
parent 53da31d170
commit 5c836260aa
12 changed files with 145 additions and 8 deletions
+24
View File
@@ -0,0 +1,24 @@
#include "main.h"
#include "drvServos.h"
#include "hwServos.h"
bool drvServos_Init(void)
{
hwServos_Init();
return true;
}
bool drvServos_Enable(void)
{
HAL_GPIO_WritePin(GPIOD, GPIO_PIN_8, GPIO_PIN_SET);
return true;
}
bool drvServos_Disable(void)
{
HAL_GPIO_WritePin(GPIOD, GPIO_PIN_8, GPIO_PIN_RESET);
return true;
}