View Source Fledex.Driver.Impl.Logger (fledex v0.3.0)

This is a dummy implementation of the Driver that dumps the binaries to IO. This can be useful if you want to run some tests without real hardware. The real implementatin probably opens a channel (if not already open) to the bus (like SPI) sends the data to the bus.

Note: this module is allowed to store information in the state (like the channel it has oppened), so that we don't have open/close it all the time. Cleanup should happen in the terminate function