51_LanQiaoBei/2025/Driver/Init.c
2025-04-13 01:02:19 +08:00

12 lines
141 B
C

#include <Init.h>
void System_Init()
{
P2 = P2 & 0x1f | 0x80;
P0 = 0xff;
P2 &= 0x1f;
P2 = P2 & 0x1f | 0xA0;
P0 = 0x00;
P2 &= 0x1f;
}