Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MARY_CAMERA.h
- Revision:
- 20:fa4a54e25fc4
- Parent:
- 19:1d07d6d762a9
- Child:
- 21:db9c0690c0a2
--- a/MARY_CAMERA.h Tue Mar 11 07:51:10 2014 +0000 +++ b/MARY_CAMERA.h Tue Mar 11 08:49:32 2014 +0000 @@ -63,6 +63,11 @@ QQVGA, /**< QQVGA */ } CameraPictureSize; + typedef enum { + OFF = 0, /**< ON */ + ON, /**< OFF */ + } SwitchState; + /** General parameters for MARY_CAMERA */ enum { BYTE_PER_PIXEL = 2, /**< bytes per pixel */ @@ -108,13 +113,20 @@ */ int init( CameraPictureSize picture_size ); + /** Color bar ON/OFF + * + * Set colorbar ON/OFF + * + * @param sw + */ + void colorbar( SwitchState sw ); + /** Get holizontal size * * Returns image horizontal size (pixels) * * @return holizontal size */ - int horizontal_size( void ); /** Get vertical size