Long story short, this is a mod by Xilver, who once upon a time did a spell mod called Midas Magic: Spells of Aurum, for TES Oblivion. Well, now he made one for TES Skyrim. MicroPython to the Rescue In MicroPython, we can do the same in a way that's clearly understandable in two lines.

Understanding the Context

First, we import the modules we need, and then we spell out what we want to do in clear and straightforward Python. from time import sleep; from machine import Pin; led = Pin(2, Pin.OUT) # Imports modules and defines output pin 5 while True: led.on(); sleep(1); led.off(); sleep(1 ...