stm32与51单片机IIC通信(学习)
stm32主机与51单片机从机IIC通信注意时序两单片机运行速度不一样运用阻塞的方法特别是应答的时候我找了好久的bug两单片机可以直接导向连接stm32主机#include "stm32f10x.h"#include "iic.h"#include "led.h"#include "delay.h"#include "usart.h"int main (void){ IIC_Init(); IIC