Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DAC1/2
#1
trying to use DAC1/2 by following simple code:
can't see any changes on output nor on esp32(25/26)
dac_output_enable(DAC_CHANNEL_1);
dac_output_enable(DAC_CHANNEL_2);
dac_output_voltage(DAC_CHANNEL_1,0);
dac_output_voltage(DAC_CHANNEL_2,0);

i see no changes no matter the values, how come ?

what is the meaning for Strapping is it needed any human interact to activate it?


Attached Files Image(s)
   
Reply
#2
this is arduino DAC demo source code for KC868-A6:
https://www.kincony.com/forum/showthread.php?tid=1861
Reply
#3
arduino code works for me but idf with c library isnt. nned to know the reason than as those are same in this level

sorry its look like hardware issue. with other A6 modules it works easy.
Reply
#4
the board can't work by ESP-IDF, whether can work with our arduino demo source code?
Reply


Forum Jump:


Users browsing this thread: