10 Commits

Author SHA1 Message Date
Dave Jones
afa23949e8 Turn pinout docs into man-page
Stops lintian whinging about missing man-pages
2017-07-16 23:09:29 +01:00
Dave Jones
9ed3a19a8e Update docs config
Add epub output, fix PDF output to include page-numbers in links (for
printed output), reduce the (now ridiculous) length of the ToC by
dropping it to one level, add numbering to chapters
2017-07-14 16:57:06 +01:00
Thijs Triemstra
0c9e4a9575 Use Python syntax highlighting (#453)
* Use Python syntax highlighting

* Use code directive instead

* use python syntax highlighting in the docs

* update Programming Language classifers for supported Python versions

* use %s instead
2016-09-21 09:56:15 +01:00
Dave Jones
e9ff6fce3c Revert "Fix #295"
This reverts commit 38541889ca.
2016-08-31 00:24:29 +01:00
Dave Jones
38541889ca Fix #295
At least, I *think* this should fix this. It does locally, but we'll
have to see what happens when I push it to RTD!
2016-08-29 22:44:27 +01:00
Dave Jones
32803a7988 Convert recipe examples to includes
Makes it much easier to test things - no copying'n'pasting just run the
examples straight from the dir (after wiring stuff up)
2016-08-29 20:41:11 +01:00
Dave Jones
759a6a58e6 Fix #140, fix #69, fix #185
This PR adds a software SPI implementation. Firstly this removes the
absolute necessity for spidev (#140), which also means when it's not
present things still work (effectively fixes #185), and also enables any
four pins to be used for SPI devices (which don't require the hardware
implementation).

The software implementation is simplistic but still supports clock
polarity and phase, select-high, and variable bits per word. However it
doesn't allow precise speeds to be implemented because it just wibbles
the clock as fast as it can (which being pure Python isn't actually that
fast).

Finally, because this PR involves creating a framework for "shared"
devices (like SPI devices with multiple channels), it made sense to bung
Energenie (#69) in as wells as this is a really simple shared device.
2016-04-01 12:57:17 +01:00
Dave Jones
aebe42875d Fix #180 - Add support for pigpio 2016-02-12 20:14:10 +00:00
Dave Jones
8e0c6e243b Refactor low level implementation
This commit is a fairly major piece of work that abstracts all pin
operations (function, state, edge detection, PWM, etc.) into a base
"Pin" class which is then used by input/output/composite devices to
perform all required configuration.

The idea is to pave the way for I2C based IO extenders which can present
additional GPIO ports with similar capabilities to the Pi's "native"
GPIO ports. As a bonus it also abstracts away the reliance on the
RPi.GPIO library to allow alternative pin implementations (e.g. using
RPIO to take advantage of DMA based PWM), or even pure Python
implementations.
2016-02-08 14:54:18 +00:00
Dave Jones
0bc62aee73 Generic docs need reST
Conversion of all docs to reST so that the generic docs can link easily
with the rest of the docs.
2016-01-30 23:40:12 +00:00