Looks like we can use the same Pin class for legacy pyb module and new machine module.
Attach a file by drag & drop or click to upload