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 writtenCodePudding user response:
Wow, thanks to the bossCodePudding user response:
Download sample projectCodePudding user response:
With the scan button to programming, with a switch statement, very simpleCodePudding user response:
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