#ifndef PERIPHERALS_H #define PERIPHERALS_H #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif #define SERVO_GPIO (10) esp_err_t peripherals_init(void); /* Peripheral control task (created from main.c) */ void peripheral_control_task(void *pvParameters); /* GPIO and servo helpers */ void init_gpio_output(void); void servo_init(void); void servo_set_angle(uint16_t angle); #ifdef __cplusplus } #endif #endif // PERIPHERALS_H