![AVAL APX-3302 Скачать руководство пользователя страница 62](http://html.mh-extra.com/html/aval/apx-3302/apx-3302_user-manual_3024178062.webp)
APX-3302 User's Manual (OM110000019A)
-55 -
3. TTL / Open Collector Output Terminal
Extension
connector CN6
SW2-1,2-2
330
Ω
1/8W
+5V
Internal
circuit
ALS641A
GP_OUT1
GP_OUT2
Figure6-14: Open collector output terminal
Don't apply the voltage 5V to TTL / open collector output terminal.
■
The setting example for software
The sample code for using GP_OUT1 for below as a general-purpose output is as follows.
<Sample code>
// Configure to use GP_OUT1 as a general-purpose output
AcapSetInfo(hDev, INPUT_CH, ACL_GPOUT_SEL, -1, 1);
// Reflect setting
AcapReflectParam(hDev, INPUT_CH)
// Configure GP_OUT1 Low output.
AcapSetInfo(hDev, INPUT_CH, ACL_GPOUT_POL, 0, 0);
// Configure GP_OUT1 High output.
AcapSetInfo(hDev, INPUT_CH, ACL_GPOUT_POL, 0, 1);
Содержание APX-3302
Страница 1: ...APX 3302 User s Manual ...