摘要: mpu6050使用iic一直失败。放弃治疗,使用串口。。。 c include "led.h" include "mpu6050.h" include "iic.h" include "string.h" // unsigned char Re_buf[11],counter=0; unsigned 阅读全文
posted @ 2018-08-04 19:44 灰太狼的喜羊羊 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: 今天我用delay_ms来延时5s,嗯,delay_ms(5000),发现led灯亮的时间绝对不可能是5秒。我以为我的系统时钟没有配置好,查了半天,系统复习了下stm32的时钟系统。后来发现是 对72M条件下,nms 阅读全文
posted @ 2018-08-04 10:57 灰太狼的喜羊羊 阅读(5882) 评论(0) 推荐(0) 编辑