' {$STAMP BS2} press VAR Nib Start: 'begining of coding IF IN0 = 1 THEN light 'if the button is pressed, go to the first part of instructions IF IN1 = 1 THEN reset 'if the reset button is pressed it will execute the response for that GOTO start light: 'telling the chip to get the value of step after button being pressed BRANCH Press, [one, two, three, four, five, six, seven, eight, nine, ten] reset: 'telling what to do if the stop button is pressed press = 0 LOW 2 LOW 3 LOW 4 LOW 5 LOW 6 LOW 7 LOW 8 LOW 9 LOW 10 LOW 11 DEBUG press GOTO Start one: press = 1 HIGH 2 DEBUG press RETURN two: press = 2 HIGH 2 HIGH 3 DEBUG press RETURN three: press = 3 HIGH 2 HIGH 3 HIGH 4 DEBUG press RETURN four: press = 4 HIGH 2 HIGH 3 HIGH 4 HIGH 5 DEBUG press RETURN five: press = 5 HIGH 2 HIGH 3 HIGH 4 HIGH 5 HIGH 6 DEBUG press RETURN six: press = 6 HIGH 2 HIGH 3 HIGH 4 HIGH 5 HIGH 6 HIGH 7 DEBUG press RETURN seven: press = 7 HIGH 2 HIGH 3 HIGH 4 HIGH 5 HIGH 6 HIGH 7 HIGH 8 DEBUG press RETURN eight: press = 8 HIGH 2 HIGH 3 HIGH 4 HIGH 5 HIGH 6 HIGH 7 HIGH 8 HIGH 9 DEBUG press RETURN nine: press = 9 HIGH 2 HIGH 3 HIGH 4 HIGH 5 HIGH 6 HIGH 7 HIGH 8 HIGH 9 HIGH 10 DEBUG press RETURN ten: HIGH 2 HIGH 3 HIGH 4 HIGH 5 HIGH 6 HIGH 7 HIGH 8 HIGH 9 HIGH 10 HIGH 11 DEBUG press RETURN