资 源 简 介
将单片机的IOA0~IOA7分别接按键S1~S8连接到高电平上。此时,如果某个按键被按下,对应的I/O端口就会输入高电平进单片机,即按键S3按下,IOA2会输入高电平进单片机-Will Singlechip IOA0 ~ IOA7 access keys, respectively, S1 ~ S8 is connected to high on. At this point, if a button is pressed, the corresponding I/O port will enter into the high single-chip, that is, S3 button press, IOA2 will enter into single-chip high