How to create and change gpio pin at rp2040

can I change gpio pin at rp2040 seeeduino xaio

Using the rp2040 gpio state machine
I am looking for code example in arduino ade
development system
I need to create square wave at the clock frequencey`**

hello, you can change it, by the path in the picture below

and you can refer the link for wave generation: DIY Simple Square Wave Generator Up to 1MHz - Arduino Project Hub