Servo And Light Sensor; Camera - Waveshare Pan-Tilt HAT User Manual

Table of Contents

Advertisement

Pan-Tilt HAT User Manual

SERVO AND LIGHT SENSOR

To run the Servo Driver and Light Sensor examples. Please enter the folder and using
following commands to execute programs:
BCM2835 examples:
cd bcm2835
sudo ./main
wiringPi examples:
cd wiringpi
sudo ./main
Python examples:
sudo python main.py
Note: If it prompt that files is not exist when running bcm2835 or wiringpi codes,
please first execute command make and try again.

CAMERA

To use camera, you need to fist do settings
1. Connect Camera to Raspberry Pi
2. Enable Camera
sudo raspi-config
Version: V1.0.0; Date: 2019.03.16
10 / 17

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Waveshare Pan-Tilt HAT

Table of Contents