MantisTeam / Mbed 2 deprecated MotionLibTest

Dependencies:   mantis_comms-2 mantis_stepper mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers commands.h Source File

commands.h

00001 #ifndef MANTIS_COMMANDS_H
00002 #define MANTIS_COMMANDS_H
00003 #include "mantis_comms.h"
00004 
00005 #define PUBLIC  /* empty */
00006 #define PRIVATE static
00007 
00008 #define PARAM_STRING 1
00009 #define PARAM_FLOAT 2
00010 #define PARAM_INTEGER 3
00011 
00012 
00013 PRIVATE void commandUnknown(MantisComms *comms);
00014 PRIVATE void commandFailure(MantisComms *comms);
00015 
00016 /******************************************************************************
00017  * runCommand: Run this in the main loop to have serial comms               *
00018  ******************************************************************************/
00019 void runTitaniumCommand(const char *, double,const char *,MantisComms *);
00020 void TitaniumSend(const char *s);
00021 unsigned long GetEpiTempBase(void);
00022 #endif