Pepper Computer RS232, RS485 user manual SMTtin Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 65
Image 65

Chapter 2 SMART-BASE

SMART I/O User’s Manual

 

 

 

 

 

 

 

 

 

 

2.6.7SMTtin Syntax

error_code SMTtin(u_int8 *value);

Description

This function reads the current level present on TIN/PC2.

2

Input

u_int8 *value

Output

error_code

Example

Pointer to a variable in which to place the read value. 0 represents low, 1 represents high

SUCCESS

or standard OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

RetVal = SMTin(buffer);

 

 

 

 

March 12, 1996

©1996 PEP Modular Computers GmbH

Page 2 - 25

 

 

Page 65
Image 65
Pepper Computer RS232, RS485 user manual SMTtin Syntax