As explained in the last hint, it's like the other gravestone puzzle. The only other difference between that puzzle and this one is that you had to count up how many times a particular gravestone is in the up position every time you press the button, and each gravestone stands for a digit, whereas in this one, you'll notice that you can only press the button four times before the gravestone patterns reset, which means you get the first digit from adding up all the gravestone numbers the first time you press the button, the second digit from pressing the button a second time and so on.
I hope that helps.