Arduino Mega 2560 and HacroCam

So am I just making this a lot harder than it needs to be? Should I just be able to use the stock Arduino sketch to access my HacroCam with modified firmware?

think so, you could just use an index (typically 0 for the first) to address your hcam.

void setup()
{
    hcam[0].begin();
    hcam[0].setReadAddress(0x0);
    hcam[0].setWriteAddress(0x0);
    hcam[0].setCaptureMode(HacroCam::RGB320x240);
    uint8_t wait = hcam[0].capture();

    delay(1000UL*wait + 8000UL);
}

void loop()
{
}

(disclaimer: not owning a hcam :wink: