try: from machine import Pin from neopixel import NeoPixel np = NeoPixel(Pin(8), 1) np[0] = (0, 0, 0) np.write() except Exception as e: print("rgb off failed", e) import wifi_server wifi_server.main()