This commit is contained in:
2026-01-06 11:09:59 +01:00
parent 25b2c028b6
commit 1012d3bb2f
15 changed files with 2127 additions and 19 deletions

View File

@ -4,19 +4,20 @@
*/
#include "rcsignal.h"
#include "driver/gpio.h"
#include "esp_timer.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <string.h>
static const char *TAG = "RCSIGNAL";
#define MAX_MODES 14
#define MAX_MODES 14 //TODO: Get from config
#define PULSE_THRESHOLD_US 1500
#define SIGNAL_TIMEOUT_MS 100
static struct
{
int8_t gpio_pin;