move while beeper, pick up beeper

Dependencies:   mbed

main.cpp

Committer:
vhaas
Date:
2015-04-23
Revision:
1:18080d6d4866
Parent:
0:c2175b5f3742

File content as of revision 1:18080d6d4866:

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

class IfBertl : public ur_Bertl
{
    public:
 
};

int main()
{
    IfBertl karel;
    
    while(!karel.NextToABeeper())
        karel.Move();
    karel.PickBeeper();  
}