📄 app_motor.c
字号:
/******************************************************************************
Copyright (C), 2007-2008, wanyi Tech. Co., Ltd.
FileName :app_motor.c
Author :kevin
modify :
Version :1.0
Date :2008-4-25
Description :send motor commmand application function
Function List :none
******************************************************************************/
#include "\inc\system.h"
motor_cmd motor_cmdstr={0,0,0,0,0};
/**************************************************************************************************
Function: // void init_motor(void)
Description: // for init motor
Calls: // none
Called By: // none
Table Accessed: // none
Table Updated: // none
Input: // none
Output: // none
Return: // void
Others: // none
***************************************************************************************************/
void init_motor(void)
{
motor_cmdstr.id_index = 0;
motor_cmdstr.id_appendex = 0;
motor_cmdstr.motor_dir = 0;
motor_cmdstr.motor_step = 0;
// hc595_senddata();
}
//=================================================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -