Formatting changes on README.md v10
This commit is contained in:
30
README.md
30
README.md
@@ -53,14 +53,14 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|||||||
sudo apt-get install -y i2c-tools
|
sudo apt-get install -y i2c-tools
|
||||||
sudo raspi-config
|
sudo raspi-config
|
||||||
```
|
```
|
||||||
* Interfacing Options > I2C > Enable > Yes
|
* Interfacing Options > I2C > Enable > Yes
|
||||||
> If you did not hit "finish" you can repeat these steps but change out the I2C for the SPI
|
> If you did not hit "finish" you can repeat these steps but change out the I2C for the SPI
|
||||||
* Enabling SPI:
|
* Enabling SPI:
|
||||||
* From Command Line:
|
* From Command Line:
|
||||||
```
|
```
|
||||||
sudo raspi-config
|
sudo raspi-config
|
||||||
```
|
```
|
||||||
* Interfacing Options > SPI > Enable > Yes
|
* Interfacing Options > SPI > Enable > Yes
|
||||||
* Click "Finish"
|
* Click "Finish"
|
||||||
* Reboot your Raspberry Pi
|
* Reboot your Raspberry Pi
|
||||||
```
|
```
|
||||||
@@ -69,19 +69,19 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|||||||
* Testing I2C and SPI after reboot:
|
* Testing I2C and SPI after reboot:
|
||||||
* I2C Testing:
|
* I2C Testing:
|
||||||
```
|
```
|
||||||
sudo i2cdetect -y 1
|
sudo i2cdetect -y 1
|
||||||
```
|
```
|
||||||
* If you do not get anything back from the above command, try seeing which I2C is being used under Dev:
|
* If you do not get anything back from the above command, try seeing which I2C is being used under Dev:
|
||||||
```
|
```
|
||||||
ls /dev/i2c*
|
ls /dev/i2c*
|
||||||
```
|
```
|
||||||
> Whichever number is after the "-" in "/dev/i2c-(X) is what you should replace the number in the command with
|
> Whichever number is after the "-" in "/dev/i2c-(X) is what you should replace the number in the command with
|
||||||
>> Example: /dev/i2c-3 = "sudo i2cdetect -y 3"
|
>> Example: /dev/i2c-3 = "sudo i2cdetect -y 3"
|
||||||
* SPI Testing:
|
* SPI Testing:
|
||||||
```
|
```
|
||||||
ls -l /dev/spidev*
|
ls -l /dev/spidev*
|
||||||
```
|
```
|
||||||
> This should return a device for each SPI bus (two)
|
> This should return a device for each SPI bus (two)
|
||||||
3. Installing Python Support Libraries:
|
3. Installing Python Support Libraries:
|
||||||
* GPIO - If not already installed:
|
* GPIO - If not already installed:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user