Raspberry Pi User Guide
Raspberry Pi User Guide
Raspberry Pi User Guide
On the desktop
From the Preferences menu, launch Raspberry Pi
Configuration
Click OK
Choose Yes
Select Ok
Choose Finish
Manually
Create an empty ssh file in the boot partition: sudo touch
/boot/firmware/ssh
Enabling Uart
Enable UART connection.
enable_uart=1
Enabling I2C
Enable and disable the I2C interface on the Raspberry Pi kernel and
use the Raspberry Pi hardware board pins for I2C functionality and
GPIO, Perform these steps on the Raspberry Pi Linux® terminal to
ensure that the I2C interface is enabled in the hardware kernel.
1. Run this command:
sudo raspi-config
2. Select Interfacing Options > I2C.
3. Select Yes when prompted to enable the I2C interface.
cd /
cd home/pi/your_directory
sudo python your_python_file.py
cd /
Note: if you install the library on a python environment you
need to activate your environment first inside the bash file
before running your python file using the following command
source directory_of_environment/bin/activate
Cntrl-X, Return to save.
STEP 2:
STEP 3:
We need to make logs file for detecting error while try
running the code to troubleshoot the problem.
Navigate back to your home directory:
cd
mkdir logs
STEP 4:
sudo crontab -e
1-Pyserial
2-adafruit-circuitpython-charlcd
3-board