Skip to content

Commit

Permalink
adjust sample delay.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Nov 24, 2023
1 parent 30e9f36 commit 6b5a1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void main_setup()
for (unsigned long i=0;i<sizeof(casdata);i++)
{
dac_output_voltage(DAC_CHANNEL_1,casdata[i]);
esp_rom_delay_us(91); // working on getting the right delay val
esp_rom_delay_us(89); // this is slightly faster than calculated value of 91, what gives?
}

dac_output_disable(DAC_CHANNEL_1);
Expand Down

0 comments on commit 6b5a1d3

Please sign in to comment.