circuitpython-org/_board/waveshare_esp32_s2_pico_lcd.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.5 KiB
Raw Permalink Blame History

layout board_id title name manufacturer board_url board_image bootloader_id date_added family features
download waveshare_esp32_s2_pico_lcd ESP32-S2-Pico with LCD Download ESP32-S2-Pico with LCD Waveshare
https://www.waveshare.com/wiki/ESP32-S2-Pico
waveshare_esp32_s2_pico_lcd.jpg waveshare_esp32_s2_pico_lcd 2022-08-22 esp32s2
Wi-Fi
USB-C
Display
Breadboard-Friendly

This is a WiFi development board with compact size, plenty peripheral interfaces, integrated low-power Wi-Fi System-on-Chip (SoC) and mass memory, supporting Raspberry Pi Pico expansion board ecosystem. Equipped with hardware crypto accelerator, RNG, HMAC and Digital Signature module, it can meet the security requirements of the Internet of Things.

Technical details

  • ESP32-S2FH4 - Xtensa single-core 32-bit LX7 240Mhz microprocessor
  • Boot & Reset buttons to get into the bootloader
  • TPS63000DRCR on-board 1.8A current high efficiency boost/buck DC-DC power supply IC
  • Integrated 320KB SRAM, 128KB ROM, 8MB PSRAM, 4MB Flash memory
  • Support IEEE802.11 b/g/n, on-board 2.4 GHz WiFi ceramic antenna, up to 150 Mbps data transfer rate
  • USB-C connector, no more plug orientation problem
  • On-board 0.96inch 160×80 pixels 65K color IPS LCD display.
  • On-board single 3.7V lithium battery charge/discharge header, suitable for mobile IoT product design.

Waveshare wiki link.

Purchase