![NXP Semiconductors SLN-VIZNAS-IOT User Manual Download Page 35](http://html.mh-extra.com/html/nxp-semiconductors/sln-viznas-iot/sln-viznas-iot_user-manual_1721903035.webp)
35
SLN-VIZNAS-IOT User Guide, Rev. 1.1, 10/2020
NXP Semiconductors
3.2.7 Configure IR LED Brightness
The dual camera adapter has two IR LEDs which can be configured to control their
brightness as appropriate for the environment they are being used in. To control the
brightness, these IR LED’s use PWM signals which have configurable duty cycles that
can be set using serial commands.
To control the brightness of the LED, use the command
“ir_pwm 0-100”
to set the
percentage brightness of the LEDs. An example of this command being run is shown
below.
SHELL>> ir_pwm 60
SHELL>> Camera IR duty cycle 60%
Figure 47: "ir_pwm 60" Command
NOTE: If not using a camera which supports configurable IR LEDs, you will receive a message like
the following:
SHELL>> ir_pwm 60
SHELL>> Camera IR PWM not supported
Figure 48: "Camera IR PWM not supported" Message
3.2.8 Configure White LED Brightness
The dual camera adapter has two white LEDs which can be configured to control their
brightness as appropriate for the environment they are being used in. To control the
brightness, these white LEDs use PWM signals which have configurable duty cycles that
can be set using serial commands.
To control the brightness of the LED, use the command
“white_pwm 0-100”
to set the
percentage brightness of the LEDs. An example of this command being run is shown
below.
SHELL>> white_pwm 60
SHELL>> Camera white duty cycle 60%
Figure 49: "ir_pwm 60" Command
3.2.9 Print Version Information
It can be useful to know which version of the SLN-VIZNAS-IOT inference engine is being
run in order to know which features are currently supported. To determine the version
number of the Oasis Lite inference engine being used by your kit, use the
“version”
command.
SHELL>> version
SHELL>> Engine:v3.4
Figure 50: "version" Command