Skip to content

Commit fe7f6fe

Browse files
authored
Merge pull request #1595 from arduino/karlsoderby/audio-wav-fix-giga
[GIGA R1 WiFi] Minor update audio guide
2 parents 4029c13 + 3c77d89 commit fe7f6fe

File tree

1 file changed

+1
-1
lines changed
  • content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-audio

1 file changed

+1
-1
lines changed

content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-audio/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ void setup()
625625
snprintf(msg, sizeof(msg), "Samples count = %i", samples_count); Serial.println(msg);
626626
627627
/* Configure the advanced DAC. */
628-
if (!dac0.begin(AN_RESOLUTION_12, header.sampleRate, 256, 16))
628+
if (!dac0.begin(AN_RESOLUTION_12, header.sampleRate * 2, 256, 16))
629629
{
630630
Serial.println("Failed to start DAC1 !");
631631
return;

0 commit comments

Comments
 (0)