You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quick question: Can you test serverTest.py with just the raspberryPi? Or did you need the rasptank fully assembled when you're testing for the first time? What is serverTest.py supposed to do? Check if the servos are working properly?
This is the output I got when I tried to test it:
pi@raspberrypi:~/Adeept_RaspTank $ sudo python3 server/serverTest.py
Traceback (most recent call last):
File "server/serverTest.py", line 14, in
pwm = Adafruit_PCA9685.PCA9685()
File "/usr/local/lib/python3.7/dist-packages/Adafruit_PCA9685/PCA9685.py", line 75, in init
self.set_all_pwm(0, 0)
File "/usr/local/lib/python3.7/dist-packages/Adafruit_PCA9685/PCA9685.py", line 111, in set_all_pwm
self._device.write8(ALL_LED_ON_L, on & 0xFF)
File "/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO/I2C.py", line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File "/usr/local/lib/python3.7/dist-packages/Adafruit_PureIO/smbus.py", line 322, in write_byte_data
self._device.write(data)
OSError: [Errno 121] Remote I/O error
The text was updated successfully, but these errors were encountered:
Quick question: Can you test serverTest.py with just the raspberryPi? Or did you need the rasptank fully assembled when you're testing for the first time? What is serverTest.py supposed to do? Check if the servos are working properly?
This is the output I got when I tried to test it:
pi@raspberrypi:~/Adeept_RaspTank $ sudo python3 server/serverTest.py
Traceback (most recent call last):
File "server/serverTest.py", line 14, in
pwm = Adafruit_PCA9685.PCA9685()
File "/usr/local/lib/python3.7/dist-packages/Adafruit_PCA9685/PCA9685.py", line 75, in init
self.set_all_pwm(0, 0)
File "/usr/local/lib/python3.7/dist-packages/Adafruit_PCA9685/PCA9685.py", line 111, in set_all_pwm
self._device.write8(ALL_LED_ON_L, on & 0xFF)
File "/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO/I2C.py", line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File "/usr/local/lib/python3.7/dist-packages/Adafruit_PureIO/smbus.py", line 322, in write_byte_data
self._device.write(data)
OSError: [Errno 121] Remote I/O error
The text was updated successfully, but these errors were encountered: