8000 GitHub - myfreax/esp32-adc: Analog to Digital Converter (ADC) Component For ESP32
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

myfreax/esp32-adc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 ADC Component

Analog to Digital Converter (ADC) Component For ESP32

Usage

git submodule add git@github.com:myfreax/esp32-adc.git components/adc
#include "adc.h"

void app_main(){
  esp_adc_cal_characteristics_t* adc_chars =
      adc_config(ADC1_CHANNEL_0, ADC_WIDTH_BIT_DEFAULT, 1100,
                 ADC_ATTEN_DB_11);               
  uint32_t voltage = adc_voltage(ADC1_CHANNEL_0, adc_chars);               
}

Example

The ESP32 Example Project demonstrates how to use IDF framework build application of reusable component

About

Analog to Digital Converter (ADC) Component For ESP32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0