Skip to content

v1.2.0

Choose a tag to compare

@fhunleth fhunleth released this 24 Jan 02:38
· 83 commits to main since this release
  • Updates
    • Add the :lsb_first option to support SPI transfers that send the least
      significant bit first rather than the most significant one. If the bit
      reversal isn't supported by the hardware, a software version is used.
    • Add config/1 to return the configuration for an SPI bus reference. This is
      useful for checking what is actually being used.
    • Update transfer/2 to support iodata. This makes the interface more
      convenient since now you can prepend SPI message headers in your code
      without having to concatenate binaries.
    • Support full paths being passed to SPI devices in open/2. Previously this
      resulted in errors, but it was easy to forget.