TanPitch/ButtonKing

Button problem

Opened this issue · 0 comments

Hello I'm new in Arduino and I would like to ask for a little help.

I want to press the SET button and hold for a while (I just used press here) then I go to the settings menu where with the second CHANGE button I change the value of the X variable upwards by 1 plus the usual if after exceeding the value to zero. The third OK button is used to save the set X value and go to changing the Y value. Similarly, with the CHANGE button, I change the Y value up by 1 as above. Pressing the OK button saves the value of the Y variable and exits the settings menu. At any time, pressing and holding the SET button causes exit from the settings and if it was pressed when setting the X variable, nothing changes, but if it was pressed while setting the Y variable value, the previously set X value changes and the Y value does not.

I can enter the setup page using press SET button but other buttons doesn't work. What am I doing wrong. Could you please help me?

Best Regards,
Grzegorz