Combined read and write into one call
Combined read and write into one call so it works on RPi. Thanks @jerryneedell.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-fram
.
Read the docs for info on how to use it.