Smart Home Automation Forum
DAC1/2 - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22)
+--- Thread: DAC1/2 (/showthread.php?tid=3035)



DAC1/2 - gilad - 07-05-2023

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?


RE: DAC1/2 - admin - 07-05-2023

this is arduino DAC demo source code for KC868-A6:
https://www.kincony.com/forum/showthread.php?tid=1861


RE: DAC1/2 - gilad - 07-06-2023

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.


RE: DAC1/2 - admin - 07-06-2023

the board can't work by ESP-IDF, whether can work with our arduino demo source code?