This is how micropython designed its API. Its a little bit extrage first time, but this is how it works, you only need to declare first pin and also the size of consecutive pins. I dont know where is this specified in the micropython doc, but you can check how PIO pin maps works on this video
1 Like