go to beeper

Dependencies:   mbed

main.cpp

Committer:
sophia
Date:
2015-04-24
Revision:
0:a4207fac6874

File content as of revision 0:a4207fac6874:

#include "mbed.h"
#include "ur_Bertl.h"

int main ()
{
    ur_Bertl karel;
    
    if ( !karel.NextToABeeper())
        karel.Move();               
    if ( !karel.NextToABeeper())
        karel.Move();             
    if ( !karel.NextToABeeper())
        karel.Move();
    karel.PickBeeper();
}