Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
data_command.h
00001 #ifndef _DATA_COMMAND_H 00002 #define _DATA_COMMAND_H 00003 00004 00005 #include "mbed.h" 00006 #include "CAN.h" 00007 #include "used_leg_message.h" 00008 #include "mode.h" 00009 #define e_REST_MODE 0 00010 #define w_REST_MODE 4 00011 #define DUOJI_REST__MODE 5 00012 #define MOTOR_MODE 1 00013 #define ZERO_MODE 2 00014 #define DUOJI_MODE 3 00015 00016 extern Serial command; 00017 extern DigitalOut sf_m_c; 00018 extern int e_state; 00019 extern int w_state; 00020 extern int duoji_state; 00021 extern int send_enable; 00022 extern int enabled; 00023 extern int counter; 00024 extern int c_control; 00025 extern int duoji_command; 00026 extern float SP_ef, SP_wf; 00027 void serial_command_isr(); 00028 void command_control(); 00029 extern char data[3]; 00030 extern int data_num; 00031 00032 00033 00034 00035 00036 #endif 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064
Generated on Sun Jul 17 2022 23:34:05 by
1.7.2