circuitpython-org/_board/sparkfun_qwiic_micro_with_flash.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

layout board_id title name manufacturer board_url board_image date_added family features
download sparkfun_qwiic_micro_with_flash Qwiic Micro with Flash Download Qwiic Micro with Flash SparkFun
https://www.sparkfun.com/products/15423
sparkfun_qwiic_micro.jpg 2019-11-04 atmel-samd
STEMMA QT/QWIIC
Breadboard-Friendly

The SparkFun Qwiic Micro is an 1 x 1 inch microcontroller made for the Qwiic Eco-system. It's SparkFun's smallest microcontroller to date that's made for integrating into small projects. Onboard is the Atmel ATSAMD21E18 32-bit ARM Cortex-M0+ processor with 256KB flash, 32KB SRAM, and an operating speed of up to 48MHz.

  • 13 GPIO Pins - The SparkFun Qwiic Micro still has 13 GPIO pins, 5 of which are analog.
  • UF2 Bootloader - The SparkFun Qwiic Micro comes with the UF2 Bootloader which does not require the board to have drivers installed on modern operating systems. It also allows for easy drag and drop programming.
  • SWD Programming Header - On board is a four pin header for reprogramming the microcontroller for advanced users who want to modify the chip to their liking.
  • Optional Circuitry - There are pads for an extra flash memory chip in an SOIC 8-Pin Package. Check out SparkFun's site for the specific chip used for the circuity python build that includes this chip!

Purchase