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

44 lines
2.1 KiB
Markdown

---
layout: download
board_id: "01space_lcd042_esp32c3"
title: "ESP32-C3-0.42LCD Download"
name: "ESP32-C3-0.42LCD"
manufacturer: "01space"
board_url:
- "https://github.com/01Space/ESP32-C3-0.42LCD"
board_image: "01space_lcd042_esp32c3.jpg"
date_added: 2023-05-04
family: esp32c3
downloads_display: true
features:
- STEMMA QT/QWIIC
- USB-C
- Breadboard-Friendly
- Wi-Fi
- Display
---
The ESP32-C3-0.42LCD is an ESP32 C3 / RP2040 Raspberry Pi Pico Development board with 0.42 inch LCD risc-v WiFi Bluetooth.
ESP32-C3 is a low-cost microcontroller from Espressif that supports 2.4 GHz Wi-Fi and Bluetooth® Low Energy ( Bluetooth 5 (LE)).Use RISC V as the core. There's a minimum number of pins on this chip, it's specifically designed to be low cost and for simpler projects than ESP32-Sx or ESP32 classics with their large number of GPIO. Think of it more as an intended replacement to the ESP8266 than to the ESP32! It has built-inUSB-to-Serial, but not native USB - it cannot act as a keyboard or disk drive. The chip used here has 4MB of Flash memory, 400 KB of SRAM.
The ESP32-C3 integrates a rich set of peripherals, ranging from UART, I2C, I2S, remote control peripheral, LED PWM controller, general DMA controller, TWAI controller, USB Serial/JTAG controller, temperature sensor, and ADC. It also includes SPI, Dual SPI, and Quad SPI interfaces. There is no DAC or native capacitive touch.
With its state-of-the-art power and RF performance, this SoC is an ideal choice for a wide variety of application scenarios relating to the Internet of Things (IoT), wearable electronics, and smart homes.
**Specifications**
- Based ESP32-C3FH4 WIFI & Bluetooth LE RISC-V Single-Core CPU
- Type-C USB
- 4MB Flash
- 11x IO
- 1x1.0-4P connector(GND,3V3,SDA(GPIO5),SCL(GPIO6))
- 1x RGB(GPIO2)
- 1xLED(3.3V Power Supply)
- 1xReset button(CHIP_EN,great for restarting your program or entering the ROM bootloader)
- 1xBoot button(GPIO9,entering the ROM bootloader or for user input)
- 3.3V Regulator with 500mA peak output
- Ceramic Antenna
## Purchase
* [Aliexpress](https://www.aliexpress.us/item/3256804679132291.html)