Hi
I need some help with my arduino code. I am new to arduino and I am trying to read a sequence in which buttons were pressed. I have 9 buttons on my breadboard. When I press and hold button #1 and than press button #2 and realise them in the some time (with some debouncing) I want to print a sequence 120000000, but is I will press and hold button #2 and than press button #1 and realise them in the some time I want to have on output 210000000, and so it goes til I will get e.g. 412375968 and ect.
Curently I have got to the point where I can read and output them in serial and I know which is pressed at the moment and which is not.
Can anyone help me find the way to to that?