EasyManua.ls Logo

Waveshare Pan-Tilt HAT - FAQ; Light Sensor ID and Data Issues; Example Execution Conflicts

Default Icon
17 pages
Print Icon
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 17 / 17
FAQ
1. Why the ID printed is 0xf0 or 0x00, and intensity data is 0 after running light
sensor code?
A: Check I2C address first by command: sudo i2cdetect -y 1:
If the I2C addresses are incorrect in your Raspberry Pi, please check if you have
modified I2C address, and check if you have enabled I2C interface. The default I2C
device address of Light sensor is 0x39 and 0x40 is PCA9685s.
2. Why I cannot run python or bcm2835 after running wiringpi example
If you can run wiringpi example successfully but no the bcm2835 or python codes.
Please restart Raspberry Pi and test the two examples again.