Skip to content

Please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h #92

Description

@brightproject

When building in .pio

PLATFORM: Espressif 32 (55.3.37) > Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, 8 MB PSRAM)
HARDWARE: ESP32S3 240 MHz, 320 KB RAM, 16 MB Flash
PACKAGES:
- framework-arduinoespressif32 @ 3.3.7
Dependency Graph
|-- ESP32_CAN @ 0.3.1

A warning appears:

#warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for one-shot mode and continuous mode drivers, respectively."

As far as I understand, the new esp-idf framework requires updating the outdated library:

#include "driver/adc.h"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions