
UM023902-1013 22
ZMOTION
®
20-Pin Detection and Control Development Kit
User Manual
As the code listed above demonstrates, the API_INIT file must match the lens and pyro-
electric sensor being used on the Development Board. Use the Lens Selection Guide in the
ZMOTION Lens and Pyroelectric Sensor Product Specification (PS0286)
to determine
which API_INT file is required for each lens setting.
4. To change the lens used by the project, edit the
include line at the top of the main.c
file to include the appropriate
API_INIT file. The project initially uses
API_INIT_04.h to support the CWM 0.5 GI V1 (board clip-in) lens; see the above
code example. To use a different lens, edit out the comment characters (//) in the
main.c file that correspond to the new lens, and comment out the lens that is no longer
in use.
Comentarios a estos manuales