11.07.2015 Views

Video Camera - Libelium

Video Camera - Libelium

Video Camera - Libelium

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Board configuration and programming5.5.3. Configurating the resolutionThe camera can be configurated with 6 differents resolutions. The next table shows the resolution, the number of horizontal andvertical pixels and the library parameter to use with the function.Resolution HxV(pixels) library parameterSTAMP 80x48 0QQVGA 160x120 1QCIF 176x144 2QVGA 320x240 3CIF 352x288 4VGA 640x480 5The highest resolution for pictures are VGA (5) and for videos are QVGA (3).Example of use:{// Sets QVGA resolution_3G.cameraResolution(3);}This function returns:••‘1’ on success••‘0’ if error••‘-2’ if camera not detected••‘-3’ if camera not started5.5.4. Configurating the brightnessThe camera have seven levels of brightness, from 0 to 6 (0 is the lowest, 6 is the highest).Example of use:{// Sets highest brightness_3G.cameraBrightness(6);}This function returns:••‘1’ on success••‘0’ if error••‘-2’ if camera not started••‘-3’ if camera is in invalid state-23- v4.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!