Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (2)
Stm32 c8t6 key
no vote
First of all, the pull-up resistance is to ensure that the IO port remains high level when there is no signal input. If the key is low level, then the IO should be high level when there is no signal. Therefore, the pull-up input should be set here.
pt060321
2020-01-19
0
1
STM32 key query mode
no vote
key_ Up is a static variable, which means that it is allocated only once and is initialized only when memory is allocated for the first time. That is to say, call key for the first time_ When scan, assign the variable and set it to 1, and call key again_ When scan, the variable remains the value of the last function call
pt060321
2018-07-13
0
1
No more~