Add Pi Zero OTG, sense hat examples and more docs

This commit is contained in:
Ben Nuttall
2017-03-12 20:23:19 +00:00
parent 8e4da94f8b
commit 0507273d8a
5 changed files with 93 additions and 9 deletions

View File

@@ -43,3 +43,19 @@ doorbell, and use a push button as the doorbell:
This could also be used as an internal doorbell (tell people it's time for
dinner from the kitchen).
Light sensor + Sense HAT
=========================
The `Sense HAT`_ (not supported by GPIO Zero) includes temperature, humidity and
pressure sensors, but no light sensor. Remote pins allow an external light
sensor to be used as well. The Sense HAT LED display can be used to show
different colours according to the light levels:
.. literalinclude:: examples/sense_hat_remote_2.py
Note that in this case, the Sense HAT code must be run locally, and the GPIO
remotely.
.. _Sense HAT: https://www.raspberrypi.org/products/sense-hat/