Kol9nbl4 发表于 2023-2-1 16:39:29

STC8G1K08 When power is applied to the ports, a high level

本帖最后由 Kol9nbl4 于 2023-2-1 16:43 编辑

Hey
After power on, the ports are high.
How to have a low level when the power is turned on on the ports?

神农鼎 发表于 2023-2-1 16:41:01

100K ----GND

zhp 发表于 2023-2-2 09:43:41

Set the port register (e.g. P0)to 0 at first, and then initialize the port mode registers (e.g. P0M0 and P0M1) when power on initial

like this:
P0 = 0x00;
P0M0 = 0x00;
P0M1 = 0x00;
页: [1]
查看完整版本: STC8G1K08 When power is applied to the ports, a high level