Look for a LOGO (.LGO) file on the mbed and run the commands in it. Only supports a small subset of the LOGO commands.

Dependencies:   mbed

commands.h

Committer:
nbbhav
Date:
2011-04-09
Revision:
0:864f6ee5169b

File content as of revision 0:864f6ee5169b:

/*
 * LOGO command implementation
 */
 
struct Command
{
    virtual void go() const = 0;
    virtual const char* string() const = 0;
};

Command* build_command(int line, const char* str, int* pos);

void destroy_command(Command* cmd);