User Activity

I am working with the 6 step hall sensor firmware PTOOLS1V1. problem that i face isThis firmware is designed for 7 polepair and the motor with me is single polepair.i need to change the code to single polepair.plz any one help me to change code to 1 ...
i am using STM32F746G-Disco board for this GUI.i need to display every button values in the text editor.eg: if i enter keys of 12345 continusly should display 12345 in text editor not 1 when click 1 and 2 when click 2 like that.