From cb5dbd403025598dc13ccd16ea2412b9bc8bf77d Mon Sep 17 00:00:00 2001
From: biologist79 <57354741+biologist79@users.noreply.github.com>
Date: Mon, 17 May 2021 09:16:31 +0200
Subject: [PATCH 1/2] Extended wifi-timeout
---
src/Wlan.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Wlan.cpp b/src/Wlan.cpp
index 80c5142..223b294 100644
--- a/src/Wlan.cpp
+++ b/src/Wlan.cpp
@@ -73,7 +73,7 @@ void Wlan_Cyclic(void) {
WiFi.begin(_ssid, _pwd);
uint8_t tryCount = 0;
- while (WiFi.status() != WL_CONNECTED && tryCount <= 4) {
+ while (WiFi.status() != WL_CONNECTED && tryCount <= 12) {
delay(500);
Serial.print(F("."));
tryCount++;
@@ -166,4 +166,4 @@ void writeWifiStatusToNVS(bool wifiStatus) {
bool Wlan_IsConnected(void) {
return (WiFi.status() == WL_CONNECTED);
-}
\ No newline at end of file
+}
From 4f17a7235c52fa76b853e732ddf057ae88289741 Mon Sep 17 00:00:00 2001
From: biologist79 <57354741+biologist79@users.noreply.github.com>
Date: Tue, 18 May 2021 08:32:38 +0200
Subject: [PATCH 2/2] Added link
---
PCBs/Headphone with PCM5102a and TDA1308/README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/PCBs/Headphone with PCM5102a and TDA1308/README.md b/PCBs/Headphone with PCM5102a and TDA1308/README.md
index 2876b26..8df2314 100644
--- a/PCBs/Headphone with PCM5102a and TDA1308/README.md
+++ b/PCBs/Headphone with PCM5102a and TDA1308/README.md
@@ -2,5 +2,8 @@
This is a pcb, that was kindly provided by a user of my ESPuino. It makes use of a DAC named 'PCM5102A' with a TDA1308 as amp. PCM5102A supports I2S, so it can connected in parallel to MAX98357a to the I2S-pins BCLK, LRC and DIN. Of course, it needs 3.3V and GND, too. Please note that SMD-technique is used.
The 6th pin of connector J1 is used to indicate whether there's a plug or not. That means if there is a plug, this pin is pulled to GND and therefore can be used to connect to MAX98357.SD. Doing so will mute MAX's amp and vice versa. Of course you need a special [headphone jack](https://www.conrad.de/de/p/cliff-fcr1295-klinken-steckverbinder-3-5-mm-buchse-einbau-horizontal-polzahl-3-stereo-schwarz-1-st-705830.html) to use this feature. Additionaly this 6th pin can be connected to the ESP32 in order to make use of the feature `HEADPHONE_ADJUST_ENABLE`. Doing so can optionally limit the headphone's maximum volume (configureable via GUI).
+
+Please note: the files in my GitHub-repository may be outdated regarding this PCB. Please have a look [here](https://u.pcloud.link/publink/show?code=kZjJVKkZOYso9U99qILNOMm5ehliaFtxldWX).
+
## Disclaimer
-PCB-circuit is provided 'as is' without warranty. As previously stated it was kindly provided by a user and I only can give limited support to it. However: it runs fine without any problems in my ESPuinos.
\ No newline at end of file
+PCB-circuit is provided 'as is' without warranty. As previously stated it was kindly provided by a user and I only can give limited support to it. However: it runs fine without any problems in my ESPuinos.