Question
Hi, I'm trying to write DAC value on Stm32, but I'm unable to do so.
When I write the value in loop
eg. VALUE_to_WRITE = 1000;
for(int i =0; i < VALUE_to_WRITE; i++){
HAL_DAC_SetValue(&hdac, DAC_CHANNEL_1, DAC_ALIGN_12B_L, value);
HAL_DELAY(4);}//no less than this
The value is written. But it const me 5-10 seconds when I want to write value?
Any help will be appreciated
