kopia lustrzana https://github.com/espressif/esp-idf
2fceec4d85
1. Support built-in ADC for I2S. 2. Modify code of ADC, made no change to the original APIs. 3. Add APIs in I2S: esp_err_t i2s_set_adc_mode(adc_unit_t adc_unit, adc1_channel_t adc_channel); 4. Add I2S ADC/DAC example code. 5. add old-fashion definition to make it more compatible 6. replase spi_flash_ APIs with esp_partition_ APIs 7. add example of generating audio table from wav 8. change example sound |
||
---|---|---|
.. | ||
main | ||
Makefile | ||
README.md |
README.md
Example: ADC1
This test code shows how to configure ADC1 and read the voltage connected to GPIO pin.
ADC1 functions:
ADC1_CHANNEL_6: GPIO34, voltage range [0V..1.1V], the data range [0..4095]
Test:
Please connect the test voltage to GPIO34