Skip to content

Commit fac9194

Browse files
Update README.md
1 parent 6d9aaed commit fac9194

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,6 @@ Install [ESP_VS1053_Library](https://github.com/baldram/ESP_VS1053_Library) and
1515

1616
Use [the latest Arduino ESP32 core version](https://github.com/espressif/arduino-esp32/releases/latest).
1717

18-
## Tips for troublefree streaming
19-
20-
### WiFi setup
21-
22-
Do not forget to switch WiFi out of power save mode:
23-
24-
```
25-
...
26-
WiFi.begin(SSID, PSK);
27-
WiFi.setSleep(false);
28-
...
29-
```
30-
31-
<hr>
32-
33-
### Reboots while playing
34-
Do not use the `-D BOARD_HAS_PSRAM` build flag in PlatformIO or the `PSRAM: Enabled` option in Arduino IDE. Early boards have issues with the psram cache, resulting in reboots.<br> Boards without these issues don't need this flag to enable the psram.
35-
36-
Another source of sudden reboots are cheap dev boards with a too small 3.3v regulator.
37-
38-
<hr>
39-
4018
## Example code
4119

4220
```c++
@@ -117,6 +95,28 @@ void audio_eof_stream(const char* info) {
11795
}
11896
```
11997
98+
## Tips for troublefree streaming
99+
100+
### WiFi setup
101+
102+
Do not forget to switch WiFi out of power save mode:
103+
104+
```
105+
...
106+
WiFi.begin(SSID, PSK);
107+
WiFi.setSleep(false);
108+
...
109+
```
110+
111+
<hr>
112+
113+
### Prevent reboots while playing
114+
Do not use the `-D BOARD_HAS_PSRAM` build flag in PlatformIO or the `PSRAM: Enabled` option in Arduino IDE. Early boards have issues with the psram cache, resulting in reboots.<br> Boards without these issues don't need this flag to enable the psram.
115+
116+
Another source of sudden reboots are cheap dev boards with a too small 3.3v regulator.
117+
118+
<hr>
119+
120120
# Functions
121121
122122
### Initialize the VS1053 codec

0 commit comments

Comments
 (0)