circuitpython-org/_board/pimoroni_plasma2040w.md
Jeff Epler 4715875cc4 Fix board dates to always be of the form YYYY-MM-DD
.. leading zeros are required for `frontmatter` to treat them as dates
rather than strings, apparently per the YAML specification.

This was done by script:
```py
import re
import datetime
import pathlib
import sys

import frontmatter

rx = re.compile(r'^(\s*)date_added:.*$', re.M)

for path_str in sys.argv[1:]:
    print(path_str)
    path = pathlib.Path(path_str)

    post = frontmatter.load(path)
    date_added = post.get("date_added", "")

    if isinstance(date_added, datetime.date):
        continue

    if isinstance(date_added, str):
        try:
            date_added = datetime.datetime.strptime(date_added, "%Y-%m-%d")
        except ValueError as exc:
            print(f"Failed to parse date {date_added} in {path_str}: {exc}")
            continue

    date_added = date_added.date()
    content = path.read_text("utf-8")
    new_content = rx.sub(lambda m: f"{m.group(1)}date_added: {date_added}", content)
    assert content != new_content

    path.write_text(new_content, "utf-8")
```
2024-03-22 11:31:45 -05:00

1.9 KiB

layout board_id title name manufacturer board_url board_image date_added family tags features
download pimoroni_plasma2040w Plasma Stick 2040 W Download Plasma Stick 2040 W (Pico W Aboard) Pimoroni
https://shop.pimoroni.com/products/plasma-stick-2040-w
pimoroni_plasma2040w.jpg 2023-05-09 raspberrypi
picow
🥧🐮
Bluetooth/BTLE
STEMMA QT/QWIIC
Wi-Fi

This perky Pico W-powered controller for WS2812/Neopixel/SK6812 LEDs is perfect for coding up some wireless blinkenlight shenanigans.

We've taken a Raspberry Pi Pico W and added a set of screw terminals to make it easy to connect up your LEDs and boost circuitry so they get a nice clean 5V on the power and data lines. We've also added a reset button (because unplugging your USB cable all the time is tedious) and a Qw/ST (Qwiic/STEMMA QT) connector so you can connect it up to breakouts, all without soldering.

Features

  • Raspberry Pi Pico W Aboard
    • Dual Arm Cortex M0+ running at up to 133Mhz with 264kB of SRAM
    • 2MB of QSPI flash supporting XiP
    • Powered and programmable by USB micro-B
    • 2.4GHz wireless
  • Compatible with 5V WS2812/Neopixel/SK6812 LEDs
  • Screw terminals for attaching your LED strip.
  • Reset button
  • Qw/ST (Qwiic/STEMMA QT) connector

About Pico W Aboard

Our new Pico W Aboard products come with a built in Raspberry Pi Pico W. This means you get all the advantages of a RP2040 microcontroller - a speedy fast dual-core ARM processor, a dynamic, growing ecosystem and a choice of different programming methods to experiment with. Most excitingly though, Pico W has wireless connectivity, so your Pico/RP2040 devices can communicate with each other, and the internet!

Misc

Purchase