Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GoToBeeper by
main.cpp
- Committer:
- Markus_Watko
- Date:
- 2015-04-23
- Revision:
- 1:0f309ef92d1e
- Parent:
- 0:6e9ea56b10d9
File content as of revision 1:0f309ef92d1e:
#include "mbed.h"
#include "ur_Bertl.h"
int main()
{
    ur_Bertl karel;
    
   
    for(int i = 0; i > 5; i++)
    {
        while(!karel.NextToABeeper())
        {
            karel.Move();   
        }
        
        if(karel.NextToABeeper())
        {
            karel.PickBeeper();
            karel.NibbleLeds(karel.AnyBeeperInBag());
        }
    }
}
            
    