Re: C3088 CMOS Imaging Sensor Questions
- From: Ian Bell <ruffrecords@xxxxxxxxx>
- Date: Thu, 13 Jul 2006 22:46:38 +0100
weg22@xxxxxxxxxx wrote:
Hi all,
I'm looking to purchase the C3088 CMOS imaging sensor. I plan to
interface it with a PIC microcontroller in order to do some image
processing on-board my robot. I was wondering if someone could take a
moment and answer a couple of questions for me.
(1) Would this be reasonable code for capturing a frame of data from
the C3088
row=0;
col=0;
// generate interrupt if VSYNC goes high
#INT vsync_isr()
{
while(VSYNC); // wait until VSYNC goes low
while(!HREF); // wait until HREF goes high
No. You should run through an ISR as fast as possible. While loops like
these should never occur in an ISR.
Ian
.
- References:
- C3088 CMOS Imaging Sensor Questions
- From: weg22
- C3088 CMOS Imaging Sensor Questions
- Prev by Date: Re: Task running Time
- Next by Date: Re: uCOS-II
- Previous by thread: Re: C3088 CMOS Imaging Sensor Questions
- Next by thread: Re: C3088 CMOS Imaging Sensor Questions
- Index(es):