mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2026-04-25 08:23:53 +00:00
Restructure index
Move the API to the end, recipes all grouped together up-front (with remote GPIO setup just before the remote GPIO recipes). Tweak some headings so everything looks a little more consistent in the (now shorter) ToC. Also added module index tags.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
============
|
||||
Source Tools
|
||||
============
|
||||
====================
|
||||
API - Device Sources
|
||||
====================
|
||||
|
||||
.. currentmodule:: gpiozero.tools
|
||||
.. module:: gpiozero.tools
|
||||
|
||||
GPIO Zero includes several utility routines which are intended to be used with
|
||||
the :doc:`source_values` attributes common to most devices in the library. These
|
||||
utility routines are in the ``tools`` module of GPIO Zero and are typically
|
||||
imported as follows::
|
||||
the :doc:`source_values` attributes common to most devices in the library.
|
||||
These utility routines are in the ``tools`` module of GPIO Zero and are
|
||||
typically imported as follows::
|
||||
|
||||
from gpiozero.tools import scaled, negated, all_values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user