switch
This commit is contained in:
parent
6b5623c560
commit
6cbe0da444
11
src/main.cpp
11
src/main.cpp
|
@ -33,7 +33,7 @@ Audio audio;
|
||||||
|
|
||||||
// Wifi Credentials
|
// Wifi Credentials
|
||||||
String ssid = "cohabit";
|
String ssid = "cohabit";
|
||||||
String password = "Fablab";
|
String password = "lewifidecohabit";
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
|
||||||
|
@ -61,16 +61,17 @@ void setup() {
|
||||||
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT);
|
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT);
|
||||||
|
|
||||||
// Set thevolume (0-100)
|
// Set thevolume (0-100)
|
||||||
audio.setVolume(10);
|
audio.setVolume(100);
|
||||||
|
|
||||||
// Connect to an Internet radio station (select one as desired)
|
// Connect to an Internet radio station (select one as desired)
|
||||||
//audio.connecttohost("http://vis.media-ice.musicradio.com/CapitalMP3");
|
//audio.connecttohost("http://vis.media-ice.musicradio.com/CapitalMP3");
|
||||||
//audio.connecttohost("mediaserv30.live-nect MAX98357 I2S Amplifier Module
|
//audio.connecttohost("mediaserv30.live-nect MAX98357 I2S Amplifier Module
|
||||||
//audio.connecttohost("www.surfmusic.de/m3u/100-5-das-hitradio,4529.m3u");
|
//audio.connecttohost("www.surfmusic.de/m3u/100-5-das-hitradio,4529.m3u");
|
||||||
//audio.connecttohost("stream.1a-webradio.de/deutsch/mp3-128/vtuner-1a");
|
//audio.connecttohost("stream.1a-webradio.de/deutsch/mp3-128/vtuner-1a");
|
||||||
//audio.connecttohost("www.antenne.de/webradio/antenne.m3u");
|
audio.connecttohost("www.antenne.de/webradio/antenne.m3u");
|
||||||
audio.connecttohost("0n-80s.radionetz.de:8000/0n-70s.mp3");
|
//audio.connecttohost("https://git.cohabit.fr/andre.malo/Amplificator/raw/branch/master/Mozart%20-%20Lacrimosa.mp3");
|
||||||
|
//audio.connecttoFS(m_f_localfile,"/Mozart - Lacrimosa.mp3");
|
||||||
|
//audio.playI2Sremains(m_f_localfile,"/Mozart - Lacrimosa.mp3");
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop()
|
||||||
|
|
Loading…
Reference in a new issue