camPresent (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Firmware version:

1.07 / 1.00.00


The function returns information about whether the camera module is present or not.

 

 

Input:        

None.

 

Returns: BOOL

TRUE:

If the camera module is present.

FALSE:

If the camera module is not present.

 

Declaration:

FUNCTION camPresent : BOOL;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
   // Open the camera library
   camOpen();
 
BEGIN
    ...
    // Test for camera module
    IF camPresent() THEN
        ...
    END_IF;
    ...
END;
 
END_PROGRAM;