#include <eyebot.h>

void cam_display()
{ QVGAcol img;
  while (!VWDone())
  {CAMGet(img);
   LCDImage(img);
  }
}

int main()
{ CAMInit(QVGA);
  for (int i=0; i<2; i++)  // run twice
  { VWStraight(500, 50);   // 0.5m in ca. 5s
    cam_display();
    VWTurn(180, 60);      // half turn (180 deg) in ca. 3s
    cam_display();         
  }
}
