![](https://img.codepudding.com/202012/172565301154111.gif)
CodePudding user response:
Interrupt is a very valuable resource, buttons don't need to use the interrupt, this refers to the button by using interrupt refers to shake or... ?CodePudding user response:
Is the first key, LED the first conversion rule, according to a second to realize the second transformation rules, and so onCodePudding user response:
There are regular buttons for reference written![](https://img.codepudding.com/202012/172565301154112.png)
CodePudding user response:
Wow, thanks to the boss![](https://img.codepudding.com/202012/172565301154113.gif)
CodePudding user response:
Download sample projectCodePudding user response:
With the scan button to programming, with a switch statement, very simpleCodePudding user response:
![](https://img.codepudding.com/202012/172565301154114.gif)
CodePudding user response:
Keys and time delay, with the timer and the main function polling write a timing function, the lamp control can use an array to add left shift + +, etc