红外遥控成功
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
``` c
|
||||
Snake_Thread = rt_thread_create("Snake_Thread", snake_entry, RT_NULL, THREAD_STACK_SIZE, 10, THREAD_TIMESLICE);
|
||||
```
|
||||
不注释又闪了,
|
||||
加到myproject,没唤醒时没事,唤醒后闪,重启也闪
|
||||

|
||||
### GET_PIN(F, 11) 的头文件
|
||||
|
||||
``` c
|
||||
@@ -42,4 +45,13 @@ Snake_Thread = rt_thread_create("Snake_Thread", snake_entry, RT_NULL, THREAD_STA
|
||||
| 0x38 | 电源键 |
|
||||
| 0xA8 | 静音 |
|
||||
| 0x88 | 菜单 |
|
||||
| 0x28 | 退出 |
|
||||
| 0x28 | 退出 |
|
||||
|
||||
### 等待消息
|
||||
写成这样,导致一直等待,所以一直没反应
|
||||
``` c
|
||||
if(page_chosen == 1)
|
||||
{
|
||||
rt_mdelay(1000);
|
||||
}
|
||||
```
|
BIN
my_error/image-2.png
Normal file
BIN
my_error/image-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user