1

I'm trying to make it so I can control 2 servos with data that I get from a python script that tracks my face.

I have found 2 libraries that do this:pySerial and pyfirmata.

Is one superior to the other one, are there more libraries, or should approach things differently.

2
  • 3
    They're different things: one is a specific interface to Arduino Firmata, one is a generic serial port library. "Superior" depends on context, usage, etc. Either would work perfectly fine, each would require a different approach. Jul 1, 2021 at 19:52
  • 1
    Thank you so much
    – WaddleBoy
    Jul 1, 2021 at 20:40

1 Answer 1

1

I'd say pyFirmata can work but controling servos ... NOPE! use pyserial and add the code

2
  • Did you see Dave Newton's comment below the question? Jul 2, 2021 at 14:10
  • no but thanks i needed it Jul 2, 2021 at 14:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.