Hello! I am trying to listen a voice message in a speaker connecting on the esp32 DAC GPIO25.
I have the voice message in a bytearray with digital numbers: [66,152,73,193,219,37,149,248,223,145,252,91,16,127,24…]
I connect positive cable to GPIO25 and negative to GRD
My code is the following:
import dac my_dac = dac.DAC(D25.DAC) my_dac.start() # circular mode: continuously repeat the input buffer my_dac.write([79,103,103,83,0,2,0,0,0,0,0,0,0,0,220,109,15,97,0,0,0,0,64,125,76,51,1,19,79,112,117,115.....],100,MILLIS,circular=True)
May you help me please and guide me?