pschatzmann / arduino-audio-tools

Arduino Audio Tools (a powerful Audio library not only for Arduino)
GNU General Public License v3.0
1.52k stars 233 forks source link

cant compile example base-adc-measure.ino #1078

Closed w4sepp closed 11 months ago

w4sepp commented 11 months ago

Problem Description

base-adc-measure.ino:34:13: error: 'class audio_tools::AnalogConfigESP32' has no member named 'adc_bit_width'

Device Description

ESP32 TTGO T7

Sketch

original example

Other Steps to Reproduce

No response

What is your development environment

Arduino platformio

Processing ttgo-t7-v13-mini32 (board: ttgo-t7-v13-mini32; build_flags: -D CORE_DEBUG_LEVEL=5, -I include, -I .; platform: espressif32; framework: arduino; monitor_filters: esp32_exception_decoder; monitor_speed: 115200; upload_speed: 921600; lib_deps: )

CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ttgo-t7-v13-mini32.html PLATFORM: Espressif 32 (6.4.0) > TTGO T7 V1.3 Mini32 HARDWARE: ESP32 240MHz, 1.25MB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

I have checked existing issues, discussions and online documentation

pschatzmann commented 11 months ago

Why don't you just comment out the offending line? This example has been made for the newest esp32 version that is available as prerelease.