Skip to content

Commit

Permalink
Fix for NRF52 example
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Dec 25, 2023
1 parent 350a776 commit df3e9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/NRF52_PDM_PWMTest/NRF52_PDM_PWMTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ void loop() {
for (int i = 0; i < 320; i++) { // Copy them into the DAC Buffer and change from signed to unsigned ( + 0x8000)
aaAudio.dacBuffer16[i] = (uint16_t)(aaAudio.adcBuffer16[i] + 0x8000);
}
aaAudio.feedDAC(320); // Feed the DAC with the ADC data
aaAudio.feedDAC(0,320); // Feed the DAC with the ADC data
}

0 comments on commit df3e9ed

Please sign in to comment.