Last updated 4 years ago
BPI G1 has a button, which is connected to the PB3 pin F103, in the middle of a pullup resistor in parallel, when the key is pressed, the pin will be low-level information. Figure.