Controlling a Motor Shield V2 via Python?

As the title says I need to control a DC motor connected to a Motor Shield V2 via Python - first forgive me, I'm very new to Arudino and only have moderate Python skills. I do have Python talking to the Arduion Uno Rev 3 via serial just fine and can control basic things on the Uno via Python but so far I haven't been able to get anything to control the Motor Shield V2.

I've been playing with CircuitPython and the Adafruit libraries but I think I'm on the wrong path as they want to install on the board and seem to be designed for Pi's and other devices rather than my little Uno. What I need to do is rather simple, just turn a small DC motor on/off and that's really it - if anyone can point me in the right direction I'd greatly appreciate it.

When I do try to run the following code I get the following error:

Code

from adafruit_motorkit import MotorKit

Error

NotImplementedError: Adafruit-PlatformDetect version 3.22.0 was unable to identify the board and/or microcontroller running the Windows platform. Please be sure you have the latest packages running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'

Thanks for any assistance you guys can provide, if I'm in the wrong forum apologies, just le me know the appropriate one.

~Ross

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.