[X] I have read the documentation at readthedocs and the issue is not addressed there.
[X] I have tested that the issue is present in current master branch (aka latest git).
[X] I have searched the issue tracker for a similar issue.
[X] If there is a stack dump, I have decoded it.
[X] I have filled out all fields below.
Platform
Hardware: ESP8266 Lolin D1 mini v4.0.0 (NEW)
Core Version: 3.0.2 from board manager and also tried latest from github today 5th Jan 2022
Development Env: Arduino IDE v1.8.19
Operating System: Windows
Settings in IDE
Problem Description
I tried to swap a Wemos / Lolin D1 mini v3.1.0 out on one of my projects, and replace with the newer v4.0.0 which has USB C and I2C connector. Flashed same code and it did not work, was getting watchdog resets ( I now think due to the while loops when I2C sensors were not found).
So back to basics:
Tried Blink sketch - worked.
Tried Lolin buzzer shield - worked.
Tried Lolin DHT shield - does not work (I2C).
Tried Lolin TFT screen shield - does not work (SPI I think).
Tried I2C scanner sketch as per below, no devices found. When flashing to v3.1.0 Lolin it finds the device immediately.
Basic Infos
Platform
Settings in IDE
Problem Description
I tried to swap a Wemos / Lolin D1 mini v3.1.0 out on one of my projects, and replace with the newer v4.0.0 which has USB C and I2C connector. Flashed same code and it did not work, was getting watchdog resets ( I now think due to the while loops when I2C sensors were not found).
So back to basics:
Tried Blink sketch - worked. Tried Lolin buzzer shield - worked. Tried Lolin DHT shield - does not work (I2C). Tried Lolin TFT screen shield - does not work (SPI I think).
Tried I2C scanner sketch as per below, no devices found. When flashing to v3.1.0 Lolin it finds the device immediately.
Not sure what the problem is...
MCVE Sketch
Debug Messages
No debug errors I saw, it compiles and flashes ok, just does not work. I am happy to produce debugs if told how.