The MicroPython Pin class allows you to create an object which controls the way a single GPIO line works. The simplest form of the constructor is: Pin(id, mode = mode) where id is the number of the ...