![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
stm32实训
文章平均质量分 90
KZY_kzy
悟已往之不谏,知来者之可追
展开
-
粤嵌实训笔记二
(2)读 read() ssize_t read(int fd, void *buf, size_t count);gcc xxx.c -o xx --> 生成指定名字的可执行文件 xx。4、使用交叉编译工具链 arm-linux-gcc main.c -o k。cd、 ls、pwd、touch、rm、 Ctrl l 、鼠标按下滚轮 等。2、交叉编译 :在一个环境下编译生成 适用于 另一个环境下的可执行文件。“输入事件”:Linux下 触摸事件、按键事件、鼠标事件 …3、为交叉编译工具创建软连接。原创 2023-03-03 17:15:36 · 4248 阅读 · 0 评论 -
粤嵌实训笔记一
反转电平 GPIO_ToggleBits(GPIO_TypeDef * GPIOx, uint16_t GPIO_Pin)低电平 GPIO_ResetBits(GPIO_TypeDef * GPIOx, uint16_t GPIO_Pin)bool right_D = GPIO_ReadInputDataBit(GPIOC, GPIO_Pin_6);(置1)高电平 GPIO_SetBits(GPIO_TypeDef * GPIOx, uint16_t GPIO_Pin)原创 2023-03-03 16:10:49 · 1084 阅读 · 0 评论