-
Notifications
You must be signed in to change notification settings - Fork 187
Description
pi@4wd:~ $ cd /Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server-pi5/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server-pi5 $ sudo python servo.py
pi@4wd:
Now servos will rotate to 90°.
If they have already been at 90°, nothing will be observed.
Please keep the program running when installing the servos.
After that, you can press ctrl-C to end the program.
Traceback (most recent call last):
File "/home/pi/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server-pi5/servo.py", line 34, in
pwm=Servo()
^^^^^^^
File "/home/pi/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server-pi5/servo.py", line 5, in init
self.PwmServo = PCA9685(0x40, debug=True)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server-pi5/PCA9685.py", line 32, in init
self.write(self.__MODE1, 0x00)
File "/home/pi/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server-pi5/PCA9685.py", line 36, in write
self.bus.write_byte_data(self.address, reg, value)
TimeoutError: [Errno 110] Connection timed out