boromyr:
Is it possible to use this code also with the A4988 module? Only 2 output pins are enough?
If you are talking about the code in the Original Post then it is intended for an A4988 type of driver.
I strongly suspect you should start your own Thread and provide a description of what you are trying to create as this Thread seems to have been stopped in mid air before you came along.
...R