However, with those HEX numbers and GPIO=PATT it will use GPIO bits 0 1 2 and 3.

To use pins 0 1 2 and 5 you would need to change the loopkup to: [$1, $3, $2, $6, $4, $24, $20, $21]

I am also assuming that you are setting those pins as output pins.