ESP-IDF Robot Controls

This commit is contained in:
2024-12-25 09:38:11 -05:00
parent 2c832bf417
commit a845724773

View File

@@ -73,8 +73,8 @@ TIMER RESOLUTION MAX VALUE HALF-DUTY
#define NAV_BTN (8) // 8 GPIO joystick button
static int adc_raw[2][10];
static int voltage[2][10];
static bool example_adc_calibration_init(adc_unit_t unit, adc_channel_t channel, adc_atten_t atten, adc_cali_handle_t *out_handle);
static void example_adc_calibration_deinit(adc_cali_handle_t handle);
static bool adc_calibration_init(adc_unit_t unit, adc_channel_t channel, adc_atten_t atten, adc_cali_handle_t *out_handle);
static void adc_calibration_deinit(adc_cali_handle_t handle);
#define ESP_INTR_FLAG_DEFAULT 0