Fixed layout issues in GitLab
This commit is contained in:
@@ -253,23 +253,31 @@ provide a patch). For information on how to connect sensor to the RaspberryPi
|
||||
and to get it working please click on the links in the list above. As per these,
|
||||
most sensors require some configuration to make them available:
|
||||
* No setup is required to read the CPU temperature.
|
||||
|
||||
* To enable 1-wire interface support on the RaspberryPi use the command:
|
||||
|
||||
~~~
|
||||
sudo raspi-config nonint do_onewire 0
|
||||
~~~
|
||||
|
||||
or use `raspi-config` interactively (1. Interfacing Options --> P7. 1-Wire).
|
||||
Please note that changing this requires a reboot.
|
||||
|
||||
* To enable I2C interface support on the RaspberryPi use the command:
|
||||
|
||||
~~~
|
||||
sudo raspi-config nonint do_i2c 0
|
||||
~~~
|
||||
|
||||
or use `raspi-config` interactively (1. Interfacing Options --> P5. I2C).
|
||||
Please note that changing this requires a reboot.
|
||||
The I2C interface also requires the `SMBus` or `SMBus2` library, to install
|
||||
the `SMBus` library on Raspbian Linux run:
|
||||
|
||||
~~~
|
||||
sudo apt install python-smbus
|
||||
~~~
|
||||
|
||||
`SMBus2` is a pure Python implementation that requires system-wide or a
|
||||
`virtualenv`-based installation, less trivial than installing the package.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user