10 pin stepper motor library

hello everybody ,
i have an old 5-Phase sanyodenki's stepper motor , i made driver for this with 5 half H-bridges , now i have 10 wires to control each transistor .
driver and stepper work perfect with simple pulses , i need a stepper library with 10 pins ,,,i tried to modify the available stepper library but i failed , please help me ,
i am new with coding .

you don't need a library you can write a sketch that simply does what you are already doing but better yet if you research stepper motors you can connect some of those leads together and have fewer leads to deal with. You can write your own library the info is on this site how to do it