NodeMCU V3 ESP8266 Pinout

Great microcontroller, bought it at az-delivery.de (no ref link).
The onboard LED pin is 2 (GPIO 4).
from machine import Pin
from time import sleep
pin = machine.Pin(2, machine.Pin.OUT, 1)
while True:
pin.off() if pin.value() else pin.on()
sleep(1)