
-29-
v4.9
Camera related functions
6.4.4. 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
6.4.5. Picture name
The name of the pictures can be customized by the user. The name can have up to 20 characters. The name is only a part of the
whole name; the whole name is namexxxx.jpg where xxxx is an index of the picture after user defined name.
Example of use:
{
// Sets the name of the pictures
// The final name is → Test_name_xxxx.jpg
_3G.pictureName(“Test_name_”);
}
This function returns:
•
‘1’ on success
•
‘0’ if error
6.4.6. Adding time stamp on pictures
The function
pictureTimeStamp()
allows to add a time stamp with the date and time of the 3G/GPRS module.
Example of use:
{
// Adds time stamp
_3G.pictureTimeStamp(1);
// Don’t add time stamp
_3G.pictureTimeStamp(0);
}
This function returns:
•
‘1’ on success
•
‘0’ if error
Содержание Waspmote 3G Plus GPS
Страница 1: ...Waspmote 3G GPS Networking Guide ...