Arduino mega 2560 + L298 Dual H - Bridge Motor Driver

Hi everyone,
I bought a L298 Dual H - Bridge Motor Driver to control my motor from a 4wd arduino kit.
I tried to to connect my arduino mega 2560 with the L298 but my motor doesn’t works …
I used 5v from my arduino for logic and 9v from an external battery for VMS.
Some help would be great!

Thanks

hey,Arduino has some differences from Mega,you need pay attention to this. Or maybe you can show us your program?