Having issue with consistency

Hi,

I attached a photo of the two wires I have

?????? where ??????

as we cannot guess:
to help you we need some more information:

  1. Sketch or photo how you wired your project
  2. datasheet or link to your motor (what type: DC, Servo, stepper ..) and motor driver
  3. pls post your code, using the "</>" button