accClose (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

CX1, SX1, MX2 turbo/encore/warp, NX-200, NX-900, LX2, LX5

Firmware version:

2.40 / 1.40.00


This function will close the accelerometer interface. After the accelerometer interface is closed, it cannot be used until opened again.

 

 

Input:

None.

 

Returns: INT

0

- Success.

- 1

- General error.

- 2

- Interface not open (see accOpen).

 

Declaration:

FUNCTION accClose : INT;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM example;
  accOpen();
  ...
  accClose();
END_PROGRAM;