L298N controller

So how have you wired it up? How is it being powered? Are the grounds common?

What results are you getting, for example do you see the printed message from that bit of code.
Does it twitch or just do nothing?