mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2026-04-25 00:13:49 +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,6 +1,6 @@
|
||||
================
|
||||
Recipes (Simple)
|
||||
================
|
||||
=============
|
||||
Basic Recipes
|
||||
=============
|
||||
|
||||
.. currentmodule:: gpiozero
|
||||
|
||||
@@ -29,6 +29,8 @@ example, if an LED was attached to "GPIO17" you would specify the pin number as
|
||||
Importing GPIO Zero
|
||||
===================
|
||||
|
||||
.. module:: gpiozero
|
||||
|
||||
In Python, libraries and functions used in a script must be imported by name
|
||||
at the top of the file, with the exception of the functions built into Python
|
||||
by default.
|
||||
|
||||
Reference in New Issue
Block a user