//#define LED 1 //Created to demonstrate GPIO control using RP2040
unsigned int * gpioOut = (unsigned int*)0xd0000010;
unsigned int * gpioOuttoggle = (unsigned int*)0xd000001c;
void setup() {
// put your setup code here, to run once:
 pinMode(1, OUTPUT);
 pinMode(3,OUTPUT);
 pinMode(1,OUTPUT);
 pinMode(0,OUTPUT);
 pinMode(6,OUTPUT);
 pinMode(2,OUTPUT);
 pinMode(5,OUTPUT);
 pinMode(4,OUTPUT);
 pinMode(7,OUTPUT);
*gpioOut = 0b11111111;
delay(1000);
}
void loop() {
*gpioOuttoggle = 0b10101010;
 delay(1000); // this speeds up the simulation
*gpioOuttoggle = 0b01001001;
 delay(1000);
}

BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT