矩阵按键的两种扫描方法
1.实验目的掌握两种按键扫描方法:行扫描,行列扫描(高低电平翻转)。2.实验流程图3.代码分析(1)行扫描 #include "stm32f10x.h"u16 keyz=0;u8 a[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e};void del...