mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-16 07:14:26 +00:00
ESP-IDF RC Motors Controls
This commit is contained in:
@@ -105,7 +105,7 @@ static const char *TAG = "ESP IDF Robot";
|
||||
#define ADC_UNIT_STR(unit) _ADC_UNIT_STR(unit)
|
||||
uint32_t x_avg = 0, y_avg = 0;
|
||||
static TaskHandle_t s_task_handle;
|
||||
static TaskHandle_t motors_handle;
|
||||
static TaskHandle_t m_task_handle; // Task for controlling motors PWMs
|
||||
//static adc_channel_t channel[2] = {ADC_CHANNEL_2, ADC_CHANNEL_3};
|
||||
static adc_channel_t channel[2] = {ADC_CHANNEL_0, ADC_CHANNEL_1};
|
||||
|
||||
|
Reference in New Issue
Block a user