An updated guide is available in the Adafruit Learning System: CircuitPython on Linux and Raspberry Pi. This guide has had the SPI Sensors & Devices page updated with a new section on Reassigning the Chip Enable pins.
There are some add-on boards that use the CE0 and CE1 lines such as the PiTFT, so you don’t have much choice in the way it is wired. Fortunately, the Raspberry Pi OS allows you to reassign the Chip Enable lines to some unused pins. In order to make this as easy as possible, we wrote a script to do all the hard work for you.
If you already know the GPIO lines you would like to use, you can pass them in as parameters to the script or you can run the script interactively…
No comments:
Post a Comment