small update
This commit is contained in:
parent
d1297960d5
commit
4ef749ec6f
1 changed files with 2 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
||||||
#define pwd ""
|
#define pwd ""
|
||||||
|
|
||||||
// OSC
|
// OSC
|
||||||
#define host "192.168.20.105"
|
#define host "192.168.21.232"
|
||||||
#define port 3030
|
#define port 3030
|
||||||
#define localPort 4040
|
#define localPort 4040
|
||||||
|
|
||||||
|
@ -85,13 +85,11 @@ void setup() {
|
||||||
if (! musicPlayer.begin()) { // initialise the music player
|
if (! musicPlayer.begin()) { // initialise the music player
|
||||||
Serial.println(F("Couldn't find VS1053"));
|
Serial.println(F("Couldn't find VS1053"));
|
||||||
}
|
}
|
||||||
Serial.println(F("VS1053 found"));
|
|
||||||
|
|
||||||
if (!SD.begin(CARDCS)) {
|
if (!SD.begin(CARDCS)) {
|
||||||
Serial.println(F("SD failed, or not present"));
|
Serial.println(F("SD failed, or not present"));
|
||||||
}
|
}
|
||||||
|
|
||||||
Serial.println("SD OK!");
|
|
||||||
musicPlayer.setVolume(10,10);
|
musicPlayer.setVolume(10,10);
|
||||||
|
|
||||||
|
|
||||||
|
@ -111,7 +109,7 @@ void setup() {
|
||||||
|
|
||||||
|
|
||||||
Udp.begin(localPort);
|
Udp.begin(localPort);
|
||||||
|
|
||||||
xTaskCreatePinnedToCore(
|
xTaskCreatePinnedToCore(
|
||||||
bgTask,
|
bgTask,
|
||||||
"background task",
|
"background task",
|
||||||
|
|
Loading…
Reference in a new issue