Wafer.Driver.Fake (wafer v1.0.2)

This module provides a fake driver which you can use in your tests.

It doesn't really do anything except return zeroes or empty results. I suggest that you use Mimic to set expectations for function calls and mock return values.

This module implements the Chip, DeviceID, GPIO, I2C and SPI protocols.