Asus AAEON VPC-3350S User Manual page 90

Hide thumbs Also See for AAEON VPC-3350S:
Table of Contents

Advertisement

************************************************************************************
VOID Main(){
Boolean PinStatus ;
// Procedure : AaeonReadPinStatus
// Input :
//
Example, Read Digital I/O Pin 3 status
// Output :
//
InputStatus :
//
0: Digital I/O Pin level is low
//
1: Digital I/O Pin level is High
PinStatus = AaeonReadPinStatus(DI nput3LDN, DInput3Reg, DInput3Bit);
// Procedure : AaeonSetOutputLevel
// Input :
//
Example, Set Digital I/O Pin 6 level
AaeonSetOutputLevel(DOut put6LDN, DOutput6Reg, DOutput6Bit,
DOutput6Val);
}
************************************************************************************
Appendix B – Digital I/O Ports
77

Advertisement

Table of Contents
loading

Table of Contents