
Appendix A
55
ECX-SLU0 / KLU0 Series Use r’s Manual
Appendix A
DIO (Digital I/O) Sample Code
//**********************************************************************
//**********************************************************************
//** **
//** (C) Copyright 2013-2017, Quanmax, Inc. **
//** **
//** All Rights Reserved. **
//** **
//**
5F, No.455, Ti-Ding Blvd., Sec. 2, **
//**
Neihu District, Taipei, Taiwan 114
**
//**
**
//** Phone: +886-2-2799-2789 **
//** **
//**********************************************************************
//**********************************************************************
//==============================================================
======//
//ECX-SLU0 DOS DIO sample program //
//Please compile with Microsoft(R) Visual C++ Version 1.5 & MASM611 //
//to utilized the program //
// //
//Access Method //
// 32 bits memory address access //
// //
//0:Low 1:High //
//DI_1: memory address 0xFDAC04C0 bit1 //
//DI_2: memory address 0xFDAC04C8 bit1 //
//DI_3: memory address 0xFDAC04D0 bit1 //
//DI_4: memory address 0xFDAC04D8 bit1 //
// //
//DO_1: memory address 0xFDAE0460 bit0 //