EasyManua.ls Logo

Waveshare Pan-Tilt HAT - Get IP Information; Modify main.py File

Default Icon
17 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Pan-Tilt HAT User Manual
Version: V1.0.0; Date: 2019.03.16 13 / 17
4. Get information
Enter web_Python folder: cd Pan_Tile-HAT/web_Python
Type pwd to get the current path information:
Type ifconfig command to get the IP information
Note: I connect the Raspberry Pi to WIFI, so the IP address is wlan0s, if you
directly connect network jack with cable, the IP address should be eth0s
5. Modify main.py file: sudo nano main.py
Find os>chdir( ), change it to the path information you get above and add
/mjpg to the end. for example: