Hi,
I'm trying run the example code of the epuck camera. I compiled it and
uploaded to epuck, but when the epuck boots it's resetting and booting
and resetting and booting...
My code is this:

#include <camera/fast_2_timer/e_po3030k.h>

char b[2*40*40];

int main(void)
{
  e_po3030k_init_cam();
  e_po3030k_config_cam((ARRAY_WIDTH -160)/2,(ARRAY_HEIGHT-160)/2,
                       160,160,4,4,RGB_565_MODE);

  e_po3030k_write_cam_registers();

  e_po3030k_launch_capture(b);

  while(1);

  return 0;
}

 
Does Anyone know the answer for this problem? Or can give me a working
code and .hex?

Thanks!

Renato Garcia


_______________________________________________
E-puck-user mailing list
[email protected]
https://mail.gna.org/listinfo/e-puck-user

Reply via email to