Home > other >  Single chip microcomputer
Single chip microcomputer

Time:10-27

Single-chip computer novice asked the great spirit show
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 flow

CodePudding user response:

Read all combinations of two buttons is too much
  • Related