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.
Diff: DATA_COMMAND/data_command.h
- Revision:
- 5:6a95726e45b0
- Child:
- 6:aad89fd109c2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DATA_COMMAND/data_command.h Tue Oct 08 04:35:23 2019 +0000 @@ -0,0 +1,66 @@ +#ifndef _DATA_COMMAND_H +#define _DATA_COMMAND_H + + +#include "mbed.h" +#include "CAN.h" +#include "used_leg_message.h" +#include "mode.h" +#include "control.h" + + +extern Serial command; +extern DigitalOut sf_m_c; + + +extern int enabled; +extern int counter; +extern int c_control; +extern float SP_pf, SP_df; +extern int c_lock; + + +extern unsigned int flag_A, flag_B; +extern unsigned int Snum; +extern uint16_t Sget[10]; +extern uint16_t Suse[10]; + + +void serial_command_isr(); +void command_control(); + + + + + + + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + +