Hello,
I have problems controlling a L298N with an Arduino Uno. (+ 12-V motor and power supply)
When I try this, the motor works fine:

When I connect it to an Arduino and set the pin 7 high, it doesn't work, although with a multimeter I made sure, that there is 5V at Pin 7.

const int IN1=7;
const int IN2=8;
void setup()
{
pinMode(IN1,OUTPUT);
pinMode(IN2,OUTPUT);
digitalWrite(IN1,HIGH);
digitalWrite(IN2,LOW);
}
void loop()
{
}
I tried 5 different L298N and two different Arduinos.
Does someone have an advice?
Greetings, Tom