Skip to content

Commit

Permalink
Merge pull request #194 from shorepine/readmepico
Browse files Browse the repository at this point in the history
readmepico
  • Loading branch information
bwhitman authored Aug 27, 2024
2 parents 02be5b8 + 8e2bd2e commit eba78ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/AMY_Test_Pi_Pico/AMY_Test_Pi_Pico.ino
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ AMY amy;
void setup() {

// Set your I2S pins.
i2s.setBCLK(9); // BCLK = SCLK. MCLK = SCLK + 1
i2s.setBCLK(9); // BCLK = SCLK. LRCLK = SCLK + 1
i2s.setDATA(8); // DATA = DIN, SD, SDOUT, DOUT
i2s.setBitsPerSample(16);
i2s.setBuffers(2, AMY_BLOCK_SIZE*AMY_NCHANS*BYTES_PER_SAMPLE/4, 0);
i2s.setBuffers(2, AMY_BLOCK_SIZE*AMY_NCHANS*BYTES_PER_SAMPLE/2, 0);
i2s.begin(AMY_SAMPLE_RATE);


Expand Down

0 comments on commit eba78ed

Please sign in to comment.