From 1a2ac270eec539fd584dccb6cce4922d2f6cddf9 Mon Sep 17 00:00:00 2001 From: Tim Windelschmidt Date: Tue, 29 Nov 2016 19:46:07 +0100 Subject: [PATCH] Changed the Order --- sketch_oct11a.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sketch_oct11a.ino b/sketch_oct11a.ino index 90b409c..cb25f31 100644 --- a/sketch_oct11a.ino +++ b/sketch_oct11a.ino @@ -72,8 +72,8 @@ void mpdbass(bool start) { if (start == true){ //If Button pressed Serial.println("Play"); client.println("addid \"users/lucas/Alben/Function/Incubation/01 Voiceprint.flac\" 0"); //Adds the Song as First Song - client.println("setvol 100"); //set Max volume client.println("play 0"); //Play the First song + client.println("setvol 100"); //set Max volume } else if (start == false) { Serial.println("Remove"); client.println("delete 0"); //Remove the first Song (The Bass Song) @@ -84,4 +84,4 @@ void mpdbass(bool start) { String line = client.readStringUntil('\r'); Serial.print(line); } -} \ No newline at end of file +}