import gc import esp from machine import Pin esp.osdebug(None) gc.collect() led2 = Pin(2, Pin.OUT)