When independent keyboard in a button press, D11 - D18 eight LED a group of two, two seconds flashing, flashing stopped after three times, when there are two independent buttons buttons at the same time press the D11 - D18 enter a state of flow, the release button, the LED out,
CodePudding user response:
Press any buttons, set a flag position 1, jump to the LED flashing program, read two button press the combination of all at the same time, the program with a switch statement execution flowCodePudding user response:
Read all combinations of two buttons is too much