FreeRTOS移植验证-neural architecture search with reinforcement learning-waymo 增强学习

时间:2021-07-01 22:10:17
【文件属性】:
文件名称:FreeRTOS移植验证-neural architecture search with reinforcement learning-waymo 增强学习
文件大小:3.66MB
文件格式:PDF
更新时间:2021-07-01 22:10:17
FreeRTOS v10.2.1 移植到STM32F103 傻瓜教程 Keil5 五、FreeRTOS移植验证 本实验设计二个任务:LED1_Task()、LED2_Task(),这二个任务的功能如下: LED1_Task():控制 LED1指示灯的闪烁 LED2_Task():控制 LED2指示灯的闪烁 移植程序如下: /* Scheduler includes. */ #include "FreeRTOS.h" #include "task.h" #include "queue.h" #include "stm32f10x.h" #define LED1_ON() (GPIO_ResetBits(GPIOE , GPIO_Pin_6)) #define LED1_OFF() (GPIO_SetBits(GPIOE , GPIO_Pin_6)) #define LED2_ON() (GPIO_ResetBits(GPIOE , GPIO_Pin_5)) #define LED2_OFF() (GPIO_SetBits(GPIOE , GPIO_Pin_5))

网友评论