View: 829|Reply: 0

Picar Pro - Lesson 5 servo - debugging PCA9685 module

[Copy link]

1

Threads

1

Posts

9

Credits

Newbie

Rank: 1

Credits
9
Post time 2021-6-27 23:49:52 | Show all posts |Read mode
I am on Lesson 5 for the PiCar Pro, working with a servo. I entered the code under 5-4 verbatim and when I first ran it there were errors regarding support modules for the Adafruit PCA9685 chip, so I added those to the folder aafter tracking them down (not sure why they were not included in the Adeept server library provided for the kit). But I am still getting errors, here is the code, and after is the error:

[img]blob:https://www.adeept.com/d1c0e9d5-e9bc-4b31-8856-b4c6ba539cfe[/img]

[img]blob:https://www.adeept.com/66f36938-7ceb-4aef-9b7f-10cfa9ab7139[/img]

I also ran this in a python IDE on desktop computer, and it is pointing to the comma after the asterisk in the arguments of the __int__ function as an "invalid syntax".

Is this a common problem that is easily corrected?

TY in advance

Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules