Cargo Features

rppal-pfd has no features set by default.

[dependencies]
rppal-pfd = { version = "0.0.5", features = ["mockspi"] }
mockspi

Use of this feature causes the crate to use a mock version of the interface to the SPI which is suited to running tests without needing the target Raspberry Pi hardware. Also requires the rppal_mcp23s17 crate to support the mock SPI.

Enables mockspi of rppal-mcp23s17