Skip to content

Commit 1280e91

Browse files
committed
Doc tweaks to clarify external libraries, new boards and add HID library.
1 parent 3cad7b7 commit 1280e91

File tree

4 files changed

+28
-13
lines changed

4 files changed

+28
-13
lines changed

docs/common_hal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Adding `digitalio` support to other ports
1+
# Adding ``*io`` support to other ports
22
`digitalio` provides a well-defined, cross-port hardware abstraction layer built to support different devices and their drivers. It's backed by the Common HAL, a C api suitable for supporting different hardware in a similar manner. By sharing this C api, developers can support new hardware easily and cross-port functionality to the new hardware.
33

44
These instructions also apply to `analogio`, `busio`, `pulseio` and `touchio`. Most drivers depend on `analogio`, `digitalio` and `busio` so start with those.

docs/drivers.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
Adafruit CircuitPython drivers
1+
Additional Libraries on GitHub
22
========================================
33

4-
These are drivers available in separate GitHub repos. They are designed for use
5-
with CircuitPython and may or may not work with `MicroPython <https://micropython.org>`_.
4+
These are libraries and drivers available in separate GitHub repos. They are
5+
designed for use with CircuitPython and may or may not work with
6+
`MicroPython <https://micropython.org>`_.
67

78
.. _bundle_installation:
89

@@ -34,6 +35,14 @@ the ``lib/`` directory. Some drivers may not work without them.
3435
Register Library <https://circuitpython.readthedocs.io/projects/register/en/latest/>
3536
BusDevice Library <https://circuitpython.readthedocs.io/projects/bus_device/en/latest/>
3637

38+
Helper Libraries
39+
-------
40+
41+
These libraries build on top of the low level APIS to simplify common tasks.
42+
43+
.. toctree::
44+
USB Human Interface Device (Keyboard and Mouse) <https://circuitpython.readthedocs.io/projects/hid/en/latest/>
45+
3746
Drivers
3847
-------
3948

index.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,20 @@ Adafruit CircuitPython API Reference
1616
Welcome! This is the documentation for Adafruit CircuitPython. It is an open
1717
source derivative of `MicroPython <https://micropython.org>`_ for use on
1818
educational development boards designed and sold by `Adafruit
19-
<https://adafruit.com>`_ including the `Arduino Zero
19+
<https://adafruit.com>`_. Adafruit CircuitPython features unified Python core
20+
APIs and a growing list of drivers that work with it.
21+
22+
The Adafruit Express line of boards are specifically
23+
designed for use with CircuitPython. They are the
24+
`CircuitPlayground Express <https://www.adafruit.com/product/3333>`_,
25+
`Feather M0 Express <https://www.adafruit.com/product/3403>`_,
26+
and `Metro M0 Express <https://www.adafruit.com/product/3505>`_.
27+
Other supported boards include the `Arduino Zero
2028
<https://www.arduino.cc/en/Main/ArduinoBoardZero>`_, `Adafruit Feather M0 Basic
2129
<https://www.adafruit.com/product/2772>`_, `Adafruit Feather HUZZAH
2230
<https://www.adafruit.com/products/2821>`_ and `Adafruit Feather M0 Bluefruit LE
2331
<https://www.adafruit.com/products/2995>`_.
2432

25-
Adafruit CircuitPython features unified Python hardware APIs available under
26-
`!shared-bindings` and a growing list of drivers that work with it.
27-
2833
`Adafruit <https://adafruit.com>`_ has many excellent tutorials available
2934
through the `Adafruit Learning System <https://learn.adafruit.com/>`_. These
3035
docs are low-level API docs and may link out to separate getting started guides.
@@ -33,9 +38,9 @@ docs are low-level API docs and may link out to separate getting started guides.
3338
:maxdepth: 2
3439

3540
shared-bindings/index.rst
41+
docs/drivers.rst
3642
docs/common_hal
3743
docs/design_guide
38-
docs/drivers.rst
3944
docs/supported_ports.rst
4045
docs/library/index.rst
4146
README

shared-bindings/index.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
Shared Libraries
1+
Core Modules
22
========================================
33

4-
These core libraries are intended on being consistent across ports. Currently
5-
they are only implemented in the SAMD21 port but the ESP8266 support will soon
6-
follow.
4+
These core modules are intended on being consistent across ports. Currently
5+
they are only implemented in the SAMD21 and ESP8266 ports. A module may not exist
6+
in a port if no underlying hardware support is present. For example, a
7+
microcontroller without analog features will not have `analogio`.
78

89
.. toctree::
910
:glob:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy