实现电机,按键,虚拟串口,未验证
This commit is contained in:
28
source/task/key.h
Normal file
28
source/task/key.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef key_h__
|
||||
#define key_h__
|
||||
|
||||
|
||||
#include "rtthread.h"
|
||||
#include "signal.h"
|
||||
#include "bytearray.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
signal key_send_signal(void *obj,uint8_t cmd,array_def *data);
|
||||
|
||||
|
||||
|
||||
|
||||
int key_pressed(void);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user