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 when launching webServer.py #16

Open
theProgramer-J opened this issue Dec 1, 2024 · 2 comments
Open

Error when launching webServer.py #16

theProgramer-J opened this issue Dec 1, 2024 · 2 comments

Comments

@theProgramer-J
Copy link

Please help me to resolve this error :
Traceback (most recent call last):
File "/home/theprogramerj/robot/server/webServer.py", line 14, in
import RPIservo
File "/home/theprogramerj/robot/server/RPIservo.py", line 17, in
pwm = Adafruit_PCA9685.PCA9685()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/Adafruit_PCA9685/PCA9685.py", line 74, in init
self._device = i2c.get_i2c_device(address, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/Adafruit_GPIO/I2C.py", line 63, in get_i2c_device
busnum = get_default_bus()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/Adafruit_GPIO/I2C.py", line 55, in get_default_bus
raise RuntimeError('Could not determine default I2C bus for platform.')
RuntimeError: Could not determine default I2C bus for platform.

@adeept
Copy link
Owner

adeept commented Dec 2, 2024 via email

@theProgramer-J
Copy link
Author

theProgramer-J commented Dec 3, 2024 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