Module ImportFrom alias alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad Str Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If BoolOpOr CompareLt NameLoad Num CompareLt NameLoad Num body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Import alias Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpMult AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str BinOpDiv Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num orelse Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Import alias Import alias If AttributeLoad NameLoad attr body TryExcept body Import alias handlers ExceptHandler body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad orelse Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A driver_base DriverBase ChannelOrder N/A time N/A os N/A log DriverSPIBase N/A DriverBase N/A N/A Base driver for controling SPI devices on systems like the Raspberry Pi and BeagleBone __init__ N/A N/A self num c_order use_py_spi dev SPISpeed N/A N/A ChannelOrder GRB True /dev/spidev0.0 2 N/A N/A N/A N/A N/A super DriverSPIBase self __init__ num c_order c_order N/A N/A self dev dev N/A N/A self use_py_spi use_py_spi N/A N/A self _spiSpeed SPISpeed N/A N/A self use_py_spi N/A N/A N/A a b N/A -1 -1 N/A d N/A N/A N/A self dev replace /dev/spidev N/A s N/A N/A d split . N/A N/A N/A len s 2 N/A N/A a N/A int N/A s N/A 0 N/A b N/A int N/A s N/A 1 N/A N/A N/A a 0 N/A b 0 N/A N/A error When using py-spidev, the given device must be in the format /dev/spidev*.* N/A N/A N/A log error error N/A N/A ValueError error N/A N/A N/A self _bootstrapSPIDev N/A spidev N/A N/A self spi N/A N/A spidev SpiDev N/A N/A N/A N/A self spi open a b N/A N/A N/A self spi max_speed_hz N/A int N/A N/A self _spiSpeed 1000000.0 N/A N/A N/A log info py-spidev speed @ %.1f MHz N/A N/A float N/A N/A self spi max_speed_hz 1000000.0 N/A N/A N/A self _buf N/A bytearray N/A self _buf N/A N/A self spi N/A open N/A self dev wb N/A _bootstrapSPIDev N/A N/A self N/A N/A N/A os.path N/A sys N/A N/A self use_py_spi N/A N/A N/A N/A spidev N/A N/A N/A N/A error Unable to import spidev. Please install. pip install spidev N/A N/A N/A log error error N/A N/A ImportError error N/A N/A N/A N/A N/A os path exists N/A self dev N/A N/A error Cannot find SPI device. Please see https://github.com/maniacallabs/bibliopixel/wiki/SPI-Setup for details. N/A N/A N/A log error error N/A N/A IOError error N/A N/A N/A N/A open N/A self dev N/A N/A N/A IOError N/A e N/A N/A N/A N/A e errno 13 N/A N/A error Cannot find SPI device. Please see https://github.com/maniacallabs/bibliopixel/wiki/SPI-Setup for details. N/A N/A N/A log error error N/A N/A IOError error N/A N/A e N/A _sendData N/A N/A self N/A N/A N/A N/A self use_py_spi N/A N/A N/A N/A N/A self spi xfer2 N/A self _buf N/A N/A N/A N/A N/A self spi write N/A self _buf N/A N/A N/A N/A self spi flush N/A update N/A N/A self data N/A N/A N/A N/A N/A self _fixData data N/A N/A N/A self _sendData N/A N/A