09 2019 档案

摘要:此项目源码下载地址:https://github.com/lizhiqiang0204/TabControl-page-separation 每个页面的按键处理事件直接对应该页面下的cs文件 MainWindow.xaml文件如下 Page1.xaml文件如下: Page1.xaml.cs文件如下 阅读全文
posted @ 2019-09-30 13:39 阿坦 阅读(4411) 评论(0) 推荐(0) 编辑
摘要:配置STM32CubeMX如下 生成的Keil代码的创建启动定时器如下 定时器的回调函数如下 运行结果如下,每隔一秒打印一次 定时器的创建函数osTimerCreate(osTimer(myTimer01), osTimerPeriodic, NULL);的第二个参数 阅读全文
posted @ 2019-09-25 14:13 阿坦 阅读(1970) 评论(0) 推荐(0) 编辑
摘要:串口接收回调函数如下: 解析每个逗号前的字符 阅读全文
posted @ 2019-09-17 10:26 阿坦 阅读(797) 评论(0) 推荐(0) 编辑
摘要:osThreadState osState2;//自定义一个线程的状态 osThreadState 系统枚举定义如下: typedef enum { osThreadRunning = 0x0, /* A thread is querying the state of itself, so must be running. */ osThreadReady = 0x1 , /* The threa 阅读全文
posted @ 2019-09-16 16:10 阿坦 阅读(1765) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-09-02 16:05 阿坦 阅读(5778) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示