I just compiled your code in Post#1 on two Wemos D1 Minis. One a Lolin board and the other a random clone board. No problems, no errors.
I just compiled your code in Post#1 on two Wemos D1 Minis. One a Lolin board and the other a random clone board. No problems, no errors.