Of course, no RGBLED on the Plasma Stick 2040 W…and “making the BOOTSEL button available as a user button requires extra circuitry, which isn’t present on a Pico”
There was me expecting that (tested?) example to work out of the box as it says
“Demonstrate the use of buttons on Plasma 2040 and Plasma 2350 W”
…Oh well, back to fixing my old code that broke with the changes of Version 1.0.0.
New Plasma RP2350 W arrived today…presumably A4 stepping? The already installed frmware and the example rgb-led-and-buttons.py worked - no problem with USER_SW.
The old Plasma RP2350 W is presumably A2 stepping - how can one tell? The stepping version from the marking on the top surface of the chip is hidden under the metal shield.
Could this be the reason for the BOOTSEL button not being available as a user button?
I think you may be looking at the wrong chip. The WIFI chip has the metal cover, the RP2350 is next to it with no metal cover. Your going to need a magnifying glass to read the numbers and letters though.
(Sorry, I missed the part in your post where USER_SW was misbehaving!)
I’m not in the office today to test but if the first Plasma 2350 W has a RP2350 with A2 stepping I reckon that could explain why the buttons are being weird.
Does inverting the button logic on the problem board help?
problem with button on the previous board…need to investigate further
the new board has the A2 stepping despite Plasma 2350 W - Pimoroni saying “Current stock of Plasma 2350 W (board only) uses the latest A4 stepping of RP2350 🎉”
Just checked my own Plasma 2350W and it’s an A2 stepping as well. Not tried the example to see if I’m getting the same issue, I did some things with the A button which was fine.
Also checked my Interstate 75W, which is similarly RP2350 equipped, and that does have an A4 stepping.
Plasma 2350 (not a W) here. I’ve had it for a while so I’m pretty sure it’s an older A2. Running that example, pressing A works, but nothing happens when pressing the Boot / User Switch. Mine is stickied in an out of site place that makes reading the chip markings impossible.
That sort of works. When I run the file, without pressing any buttons, I get. Pressed User SW - 14340473
And it’s only detected on release of the Boot Button.
I’m pretty sure that’s the only Plasma 2350 I have, all the rest are (2040) Plasma Sticks. I don’t use the buttons on mine. I have Rotary Encoder connected to i2c for brightness control and pattern selection. I use it for desktop lighting.