How to change A4988 driver yml file to use L298N driver instead?

i would love to use this yml code here for the A4988 driver to work with my roller shade.
in the wiring, i see it only uses 2 pins for its yml file as seen here:

unfortunately, i dont have any A4988 on hand. but i do have plenty of L298N on my desk! :slight_smile:
how can i adapt the yml file to work with the L298N as seen here:

or anyone know how i can configure L298N+ Nema17 working with Tasmota? that would be amazing too!