5.5.5. Configurig the rotation
The image of the camera can be rotated in steps of 90 degrees: 0, 90, 180 and 270.
Example of use:
{
// Rotates the camera 90 degrees
_3G.cameraRotation("90");
}
This function returns:
•
'1' on success
•
'0' if error
•
'-2' if camera not started
•
'-3' if camera is in invalid state
Figure : Camera with 0º rotation
5.5.6. Configuring the FPS
For record a video 3 different FPS can be selected. The parameters are '0' for 7.5 FPS, '1' for 10 FPS and '2' for 15 FPS
Example of use:
{
// Selects 15 fps
_3G.cameraFPS(2);
}
This function returns:
•
'1' on success
•
'0' if error
•
'-2' if camera not started
•
'-3' if camera is in invalid state
-24-
Board configuration and programming
v4.3
Need help?
Do you have a question about the Waspmote and is the answer not in the manual?