Appendix b, Digital input/output control – Lanner LEC-2220 User Manual
Page 30

30
Digital Input/Output Control
Appendix B
Embedded and Industrial Computing
To verify the GPIO driver installation, do the following
steps:
Right-click on the My Computer icon, and then select
1.
Properties form the menu.
Click the Hardware tab, then click the Device Manager
2.
button.
Select
3.
View from the menu and select show hidden
devices .
The Lanner common GPIO driver should be listed
4.
under the Non-Plug and Play Drivers. If not, click the
San for hardware changes button from the tool bar.
Executing the Sample Program:
To test the sample program, execute the F81865_test with
the appropriate parameters.
DIO:
Usage:
F81865_test DIO_In port_number (reads Digital input
port 0, 1, 2 or 3)
F81865_test DIO_Out port_number value (writes
Digital output port 0, 1, 2 or 3; For port description, refer
to Jumper Settings on Chapter3 Board Layout)
You can also write your own program by modifying the
source code F81865_Test.cpp.. The index address is 2EH.
- LVC-2000 (39 pages)
- LVC-5000(N4) (42 pages)
- LVC-5550S (41 pages)
- LVC-5570 (48 pages)
- LVC-5770 (49 pages)
- FW-6432 (16 pages)
- FW-7525 (41 pages)
- FW-5330 (38 pages)
- FW-6486 (18 pages)
- FW-6436 (19 pages)
- FW-7573 (44 pages)
- FW-7568 (52 pages)
- FW-7540 (47 pages)
- FW-8759 (47 pages)
- FW-7581 (23 pages)
- FW-8758 (42 pages)
- FW-7610 (44 pages)
- FW-8756 (24 pages)
- FW-7575 (48 pages)
- FW-8760 (53 pages)
- FW-8877 (46 pages)
- FW-8892 (58 pages)
- FW-8893C (49 pages)
- FX-3411 (48 pages)
- FW-8894 (31 pages)
- FW-8771 (47 pages)
- RS12-38800 (64 pages)
- MR-320 (20 pages)
- FX-3210 (54 pages)
- MR-301 (16 pages)
- MR-350 (12 pages)
- MR-330A (16 pages)
- MR-730 (18 pages)
- VES-220 (19 pages)
- VES-270 (19 pages)
- VES-310 (15 pages)
- VES-310 V2 (20 pages)
- VES-500 (21 pages)
- EM-F345 (30 pages)
- VES-8X2 (16 pages)
- VES-8X6 (17 pages)
- LEC-2026 (67 pages)
- LEC-2010 (65 pages)
- LEC-2136 (20 pages)
- LEC-2050 (38 pages)