Open
Description
There is a small mistake in the SPI documentation in the example "Example: communication with a SPI device and an extra GPIO":
Line 61 in 16398f3
Should instead say:
# Get GPIO port to manage extra pins, use A*BUS4 as GPO, A*BUS5 as GPI
Also the example would be clearer if it used parameter names for the set_direction
call:
pyftdi/pyftdi/doc/api/s 534E pi.rst
Line 63 in 16398f3
Would become:
gpio.set_direction(pins=0b0011_0000, direction=0b0001_0000)
Metadata
Metadata
Assignees
Labels
No labels