Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

esp32 DAC library

Hi,

I was looking for mongoose os support for the DAC on esp32 devices.

Is there a reason why there appears to be no DAC support in the core library (E.G https://github.com/mongoose-os-libs/dac library) ?

Paul

Comments

  • dwegscheiddwegscheid Earth-ish

    I've had pretty good luck with accessing the DAC using the unlying ESP-IDF functions.

    #include <driver/dac.h>
    
    ...
    
      dac_output_enable (DAC_CHANNEL_1);
    
    ...
    
      dac_output_voltage (DAC_CHANNEL_1, 128);
    
    
Sign In or Register to comment.