Difference between revisions of "Template:RPI open spi"
From Waveshare Wiki
Line 1: | Line 1: | ||
===Enable SPI interface=== | ===Enable SPI interface=== | ||
− | < | + | <div class="cautionSec">PS: If you are using a system with a Bullseye branch, you need to change "apt-get" to "apt", and the system of the Bullseye branch only supports Python3.</div> |
− | *Open terminal, use command to enter the configuration page<br /> | + | *Open the terminal, use the command to enter the configuration page<br /> |
<pre> | <pre> | ||
sudo raspi-config | sudo raspi-config |
Revision as of 01:32, 14 October 2022
Enable SPI interface
PS: If you are using a system with a Bullseye branch, you need to change "apt-get" to "apt", and the system of the Bullseye branch only supports Python3.
- Open the terminal, use the command to enter the configuration page
sudo raspi-config Choose Interfacing Options -> SPI -> Yes to enable SPI interface
sudo reboot
Make sure that the SPI is not occupied by other devices, you can check in the middle of the /boot/config .txt.