This requires recently added implementation of machine.Pin from micropython-lib.
Attach a file by drag & drop or click to upload