Configuring The Picture Name; Adding Time Stamp On Pictures; Taking Pictures - Libelium Waspmote Technical Manual

Hide thumbs Also See for Waspmote:
Table of Contents

Advertisement

5.5.7. Configuring the 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

5.5.8. Adding time stamp on pictures

The function
pictureTimeStamp()
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

5.5.9. Taking pictures

The function
takePicture()
external microSD card use the function
Example of use:
{
// Takes a picture:
_3G.takePicture ();
}
This function returns:
'1' on success
'0' if error
'-2' if camera not started
'-3' if camera is in invalid state
'-4' if there isn't memory enough
allows to add a time stamp with the date and time of the 3G module.
takes a picture and stores it in the folder "Picture". To select if store in the module memory or the
selectStorage()
.
-25-
Board configuration and programming
v4.3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Waspmote and is the answer not in the manual?

Table of Contents