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 P4.0/WR_3/RxD2_2
17 Gnd
16 P5.5
15 Vcc
14 P5.4/NRST/MCLKO
13 ADC_AVcc
Note:
If USB download is not required,
P3.0/P3.1/P3.2 cannot be low at the
same time when the chip is reset,
otherwise, the chip will always be
in USB download mode without
running user code.
0.1u22u
MCU-VCC
1
st
pin
1
st
pin
1
st
pin
STC
STC
STC
Looking at the chip silk screen, the small dot at the
bottom left is the first Pin.
Looking at the chip silkscreen, the last letter
of the bottom line is the chip version number