B&B Electronics PPIO manual Table of Contents

Page 2

TABLE OF CONTENTS

INTRODUCTION

1

PACKING LIST

2

PC PARALLEL PORT DESCRIPTION

3

PPIO DESCRIPTION & CONNECTION

7

CONTROLLING THE PPIO USING GWBASIC

9

CONTROLLING THE PPIO USING PASCAL

12

CONTROLLING THE PPIO USING C

18

INTERFACING TO THE PPIO

27

EXAMPLE USE OF THE PPIO

29

APPENDIX

33

HEXADECIMAL NUMBERS

33

BINARY NUMBERS

34

PPIO2899 Manual

Table of Contents

i

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

Image 2
Contents Not Recommended for New Installations Table of Contents Introduction Packing List PC Parallel Port Description Page BIT PPIO2899 Manual Ppio Description & Connection PPIO2899 Manual Controlling the Ppio Using Gwbasic Bit Force I/O on Force I/O OFF Low High Page Controlling the Ppio Using Pascal BeginElse Mask Value Function OutputBit BitNumberBYTE Byte Procedure SetOutputBit BitNumber,OutputBYTE XOR Controlling the Ppio Using C Void SetIRQOffvoid Outport ControlAddress Mask Value Page Page New PPIO2899 Manual Page Interfacing to the Ppio PPIO2899 Manual Example USE of the Ppio Page REM IB is the Input Byte and OB is the Output Byte Hexadecimal Numbers AppendixBinary Numbers