Xiaofei Qiu / Command

Command.cpp

Committer:
Xiaofei
Date:
2015-11-21
Revision:
0:4bc34a5fcc29
Child:
1:13c4bf8989d5

File content as of revision 0:4bc34a5fcc29:

#pragma once
#include "Command.h"
#include "mbed.h"

static DigitalOut led1(LED1);


void LedCommand :: execute()
{
    led1 = !led1;
}

void TurnLeftCommand :: execute()
{
}

void TurnRightCommand :: execute()
{
}

void MoveForwardCommand :: execute()
{
}

void MoveBackwardCommand :: execute()
{
}

void StopCommand :: execute()
{ 
}