Revert "移植与电子模块通信相关代码"

This reverts commit 8e3a140bec
This commit is contained in:
andy
2023-10-06 10:52:48 +00:00
parent 8e3a140bec
commit 8a263181ce
77 changed files with 1168 additions and 13331 deletions

31
source/task/moter.h Normal file
View File

@@ -0,0 +1,31 @@
#ifndef moter_h__
#define moter_h__
#include "signal.h"
#include "bytearray.h"
#include "list.h"
#include "board.h"
signal moter_end_signal(void *m);
void moter_start_slot(void *t,int fre,int step_count);
void moter_start(int fre,int step_count);
void moter_down(void (*fun)(void *t),void *t);
void moter_up(void (*fun)(void *t),void *t);
#endif