Unverified Commit 6294e620 authored by Wolle's avatar Wolle Committed by GitHub

Update main.cpp

parent 69d95ead
...@@ -19,6 +19,7 @@ void setup() { ...@@ -19,6 +19,7 @@ void setup() {
wifiMulti.run(); wifiMulti.run();
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT, -1, -1); audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT, -1, -1);
audio.setVolume(20); // 0...21 audio.setVolume(20); // 0...21
audio.setConnectionTimeout(500, 2700);
audio.connecttohost("http://us3.internet-radio.com:8342/stream"); audio.connecttohost("http://us3.internet-radio.com:8342/stream");
} }
...@@ -29,4 +30,4 @@ void loop(){ ...@@ -29,4 +30,4 @@ void loop(){
// optional // optional
void audio_info(const char *info){ void audio_info(const char *info){
Serial.print("info "); Serial.println(info); Serial.print("info "); Serial.println(info);
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment