I'm trying to drive a stepper motor (Adafruit Stepper motor - NEMA-17 size - 200 steps/rev, 12V 350mA) with a Adafruit Metro M0 express + Adafruit Motor Shield V2.
The shield is powered by a 9V, 2A DC wall adapter to the DC Barrel Jack. See pictures of the setup attached.
The problem is that when i'm trying to import and initialize the MotorKit class:
Code: Select all
import board
from adafruit_motorkit import MotorKit
kit = MotorKit()
Code: Select all
RuntimeError: No pull up found on SDA or SCL; check your wiring
Looking forward to your answers on my problem!