move while beeper, pick up beeper

Dependencies:   mbed

main.cpp

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

File content as of revision 0:c2175b5f3742:

#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();  
}