Is it possible to get to the values mentioned in the project (1023,990 & 1010, 505 & 515, 5 & 10) without trying the buttons and seeing what the analogRead comes up with?
Eg. if I were to use resistors with values 100 ohm, 1K ohm, 100K ohm and 5 megaohm => what values should I put in my code?