Vm110 and l298n

Good evening.
I would like to make use of the card VM110 to drive my electric train.
I want to use analog outputs. For this, I bought a card “power” with an L298N.
the problem is that is how I connected this card.

Uploaded with ImageShack.us
I have the 4 “in” to choose the direction of the motor and the two “EN” to vary the intensity.
I also connected to the 5V logic output, mass and vss connected to 12v.
if someone would explain the connection. thank you in advance

On the datasheet p.3 there is PIN FUNCTIONS and on p. 6 there is the “truth table” of the operation of this circuit: datasheetcatalog.org/datashe … s/1773.pdf

You can use the digital outputs of the K8055 to control the operation of this unit.
You have to add pull-up resistors (e.g. 4.7k) between the digital outputs of the K8055 and the external Vss (5V) supply.

If you drive the enable inputs using the PWM outputs of the K8055 you can control the motor speed.
Also to these inputs you need to add pull-up resistors to the Vss (5V).