We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd0d62 commit b24ac3cCopy full SHA for b24ac3c
README.md
@@ -30,6 +30,7 @@ Here is an simple example which streams a file from the Flash Memory and writes
30
31
uint8_t channels = 2;
32
uint16_t sample_rate = 22050;
33
+uint8_t bits_per_sample = 16;
34
35
MemoryStream music(StarWars30_raw, StarWars30_raw_len);
36
I2SStream i2s; // Output to I2S
@@ -41,7 +42,7 @@ void setup(){
41
42
auto config = i2s.defaultConfig(TX_MODE);
43
config.sample_rate = sample_rate;
44
config.channels = channels;
- config.bits_per_sample = 16;
45
+ config.bits_per_sample = bits_per_sample;
46
i2s.begin(config);
47
48
music.begin();
0 commit comments