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

PyFirmata Servo issue! #461

Closed
rayaan95958 opened this issue Mar 18, 2024 · 0 comments
Closed

PyFirmata Servo issue! #461

rayaan95958 opened this issue Mar 18, 2024 · 0 comments

Comments

@rayaan95958
Copy link

rayaan95958 commented Mar 18, 2024

I am trying to control my servo with PyFirmata2 (Using an Arduino Nano). It works when I give a single angle, but fails to work when I write multiple angles in sequence.

Same result with and without using the delay, same result using servo_pin= board.get_pin('d:9:s') instead of board.digital[9].mode = SERVO.

Can someone please help rectify this, and is it viable to just switch to PySerial instead?

https://i.stack.imgur.com/keEnR.png

Expecting the servo to react to all commands but works for the first angle and then stops :(

Thanks in advance!!

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

1 participant