Physical pins and GPIO
Use physical pins on the 40-pin header: 1 (3.3 V), 3 (GPIO2 / SDA1), 5 (GPIO3 / SCL1) and 6 (GND). A GPIO number is not its position on the header. Check the location of pin 1 on your board. This circuit is not for Raspberry Pi Pico or early boards with a 26-pin header.