ESP 8266 reverse digitalWrite behaviour on which pins?
The esp8266 must have a pull-up on io 2 for boot configuration. The Wemos D1 boards put the LED in series with the pull-up resistor on io 2. This creates the 'reversed' LED behavior.



The large D1s are retired and it is hard to find a good and readable schematics. The cut out is from D1 mini schematics.