Hi! I need help with this code

UKHeliBob:
What does the code do now ?

How are the button inputs wired ?

My inputs are two buttons, one connected to pin 2 and the other to pin 3. With the do...while my led in pin 13 just blinks and when I push the button nothing happens. Both buttons receive the 5v and they go to GND with a resistance . In case 1 the app sends a 1 and then the led in pin 12 stays on for 4000 ms and turns off, then case 1 ends, and so on.
Basically what I want is that in case 0 the arduino waits for the button to be HIGH to do the instructions afterwards, which are:
digitalWrite (13,1);
delay (7000);
digitalWrite (13,0);
This will turn on a led for 7 seconds then it will turn off and case 0 is ended