Instructions

Ausgabe 22.09.2017 Copyright by Joy-IT 22
3
RPi - Explorer700
12.4 Congurating the interfaces
(Before execung the API codes, you need to acvate the core-drivers of the specic interfaces. The I2C
and SPI core-drivers are already acvated by default.
Also the I2C and SPI drivers are acve.
But the serial port is sll in its debug-mode.
To enable the I2C funcons, enter the following command:
Choose Advanced Opons -> I2C -> Yes
You also need to modify the conguraon-le. Enter the following command:
Append the following lines to the end of the le:
Press CTRL+X to exit the le and press Y to save it. Reboot your system aerwards.
To enable the serial funcons, enter the following commands:
sudo raspi-config
sudo nano /etc/modules
i2c-bcm2708
i2c-dev
sudo raspi-config