嵌入式蓝桥杯LED锁存器的正确操作方式 高电平 打开 低电平关闭 解决LCD影响LED灯工作的问题

	GPIO_SetBits(GPIOC,GPIO_Pin_All);
	GPIO_ResetBits(GPIOC,led<<8);

	GPIO_SetBits(GPIOD,GPIO_Pin_2);	
	GPIO_ResetBits(GPIOD,GPIO_Pin_2);

猜你喜欢

转载自blog.csdn.net/m0_46179894/article/details/108875374