Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error OSError: [Errno 5] Input/output error | when i try manually run server.py or webServer.py. #1

Open
PhanTrongGiap opened this issue Nov 4, 2023 · 4 comments

Comments

@PhanTrongGiap
Copy link

python3 Adeept_RaspClaws/server/webServer.py
Traceback (most recent call last):
File "/home/admin/Adeept_RaspClaws/server/webServer.py", line 10, in
import move
File "/home/admin/Adeept_RaspClaws/server/move.py", line 14, in
import RPIservo
File "/home/admin/Adeept_RaspClaws/server/RPIservo.py", line 17, in
pwm = Adafruit_PCA9685.PCA9685()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/robot/lib/python3.11/site-packages/Adafruit_PCA9685/PCA9685.py", line 75, in init
self.set_all_pwm(0, 0)
File "/home/admin/robot/lib/python3.11/site-packages/Adafruit_PCA9685/PCA9685.py", line 111, in set_all_pwm
self._device.write8(ALL_LED_ON_L, on & 0xFF)
File "/home/admin/robot/lib/python3.11/site-packages/Adafruit_GPIO/I2C.py", line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File "/home/admin/robot/lib/python3.11/site-packages/Adafruit_PureIO/smbus.py", line 316, in write_byte_data
self._device.write(data)
OSError: [Errno 5] Input/output error

@adeept
Copy link
Owner

adeept commented Nov 6, 2023 via email

@PhanTrongGiap
Copy link
Author

我已经安装并遵循了大约15次。我已经阅读了您的所有文档。
我遵循了所有3个方法,仍然是同样的错误

@adeept
Copy link
Owner

adeept commented Nov 10, 2023 via email

@adeept
Copy link
Owner

adeept commented Nov 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants