Skip to content

Commit 6e9b41a

Browse files
authored
Clean up (#16)
* Remove unused dependency from Platformio's library.json * Bump version for the next release
1 parent fc15200 commit 6e9b41a

File tree

7 files changed

+569
-466
lines changed

7 files changed

+569
-466
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Then initialize the player and use as in following example:
5252
player.begin();
5353
player.setVolume(VOLUME);
5454
player.switchToMp3Mode();
55-
player.playChunk(helloMp3, sizeof(helloMp3));
55+
player.playChunk(sampleMp3, sizeof(sampleMp3));
5656
```
5757

5858
For complete code please check [examples](https://github.com/baldram/ESP_VS1053_Library/tree/master/examples) folder.

examples/Mp3PlayerDemo/Mp3PlayerDemo.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
// This ESP_VS1053_Library
4141
#include <VS1053.h>
4242

43-
// Please find helloMp3.h file here:
44-
// github.com/baldram/ESP_VS1053_Library/blob/master/examples/Mp3PlayerDemo/helloMp3.h
45-
#include "helloMp3.h"
43+
// Please find SampleMp3.h file here:
44+
// github.com/baldram/ESP_VS1053_Library/blob/master/examples/Mp3PlayerDemo/SampleMp3.h
45+
#include "SampleMp3.h"
4646

4747
// Wiring of VS1053 board (SPI connected in a standard way)
4848
#define VS1053_CS D1
@@ -70,6 +70,6 @@ void loop() {
7070
Serial.println("Playing sound... ");
7171

7272
// play mp3 flow each 3s
73-
player.playChunk(helloMp3, sizeof(helloMp3));
73+
player.playChunk(sampleMp3, sizeof(sampleMp3));
7474
delay(3000);
7575
}

examples/Mp3PlayerDemo/SampleMp3.h

Lines changed: 561 additions & 0 deletions
Large diffs are not rendered by default.

examples/Mp3PlayerDemo/helloMp3.h

Lines changed: 0 additions & 451 deletions
This file was deleted.

library.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP_VS1053_Library",
3-
"version": "1.0.8",
3+
"version": "1.0.8a",
44
"keywords": "vs1053, esp8266, esp32, nodemcu, codec, mp3",
55
"description": "This is a driver library for VS1053 MP3 Codec Breakout adapted for Espressif ESP8266 and ESP32 boards",
66
"authors": [
@@ -17,13 +17,6 @@
1717
},
1818
"frameworks": "arduino",
1919
"platforms": ["espressif32", "espressif8266"],
20-
"dependencies": [
21-
{
22-
"name": "ArduinoLog",
23-
"frameworks": "arduino",
24-
"platforms": "espressif8266"
25-
}
26-
],
2720
"examples": [
2821
"[Ee]xamples/*.cpp",
2922
"[Ee]xamples/*.ino",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=VS1053 Library for ESP8266/ESP32
2-
version=1.0.8
2+
version=1.0.8a
33
author=Baldram
44
maintainer=Baldram <[email protected]>
55
sentence=This is a driver library for VS1053 MP3 Codec Breakout adapted for Espressif ESP8266 and ESP32 boards

src/VS1053.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class VS1053 {
131131
return (digitalRead(dreq_pin) == HIGH);
132132
}
133133

134-
void switchToMp3Mode(void);
134+
void switchToMp3Mode();
135135
};
136136

137137
#endif

0 commit comments

Comments
 (0)