Enviro+ Pack with Pico 2 W

Has anyone used the envrio+ pack with a pico 2 w? I’ve got one set up and the sensors are working but the A button is always being detected as pressed. I’ve tried the envrio+ pack with an original pico and it works as expected.

I’ve checked the continuity of the I/O pins and I don’t see any difference with the pico and pico 2

The store listing doesn’t mention the Pico 2 at all I’m wondering if it is not compatible. Can anyone confirm this?

I get the same deal on Pico 2 / RP2350 with the older RP2040 code.

On my Pico Plus 2W I do this. It has a display Pack attached.

from machine import Pin

button_a = Pin(12, Pin.IN, Pin.PULL_UP)
button_b = Pin(13, Pin.IN, Pin.PULL_UP)
button_x = Pin(14, Pin.IN, Pin.PULL_UP)
button_y = Pin(15, Pin.IN, Pin.PULL_UP)


while True:
    
    if button_a.value() == 0:
        led.set_rgb(255, 0, 0)
    elif button_b.value() == 0:
        led.set_rgb(0, 155, 0)
    elif button_x.value() == 0:
        led.set_rgb(0, 0, 0)
    elif button_y.value() == 0:
        led.set_rgb(0, 0, 255)
    

RP2350 GPIO internal pull problem and simplistic workaround - Support - Pimoroni Buccaneers

1 Like