摘要:
STM32入门——硬件I2C读写MPU6050(16) #include "stm32f10x.h" // Device header #include "Delay.h" #include "OLED.h" #include "MPU6050.h" uint8_t ID; // 定义用于存放ID号 阅读全文
posted @ 2026-04-03 21:46
Q&25
阅读(3)
评论(0)
推荐(0)
摘要:
STM32入门——软件I2C读写MPU6050(15) #include "stm32f10x.h" // Device header #include "Delay.h" #include "OLED.h" #include "MPU6050.h" uint8_t ID; // 定义用于存放ID号 阅读全文
posted @ 2026-04-03 21:00
Q&25
阅读(2)
评论(1)
推荐(0)
摘要:
使用VScode配置STM32环境报错问题解决办法 现象:部分.h文件出现uint8_t 未定义报错(红色波浪线,编译正常) #ifndef __MYI2C_H #define __MYI2C_H // #include <stdint.h> // 第一种方法:避免 uint8_t 未定义报错 // 阅读全文
posted @ 2026-04-03 17:23
Q&25
阅读(1)
评论(0)
推荐(0)

浙公网安备 33010602011771号