adafruit / Adafruit_FRAM_SPI

Driver for Adafruit's SPI-Based FRAM Breakouts
Other
34 stars 30 forks source link

Use SPI transactions for better compatibility #9

Closed XFactHD closed 5 years ago

XFactHD commented 5 years ago

SPI transfers now use SPI.beginTransaction() to set the parameters, for better compatibility with other devices using other parameters. When an old version of the SPI library is used, the individual functions to set SPI parameters are used.

Changes:

ladyada commented 5 years ago

nice! what boards did you try this on?

XFactHD commented 5 years ago

I tested it on an Arduino UNO and a Feather M4 with the Read/Write test sketch (MB85RS64V.ino) and it works perfectly as far as I can see.

ladyada commented 5 years ago

ok thanks!