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/data_command.h
- Committer:
- WXD
- Date:
- 2019-10-08
- Revision:
- 5:6a95726e45b0
- Child:
- 6:aad89fd109c2
File content as of revision 5:6a95726e45b0:
#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