9 smdad1clrled, 9 smdad1clrled -24, Smart i/o user’s manual – Pepper Computer Modular Computers RS485 User Manual

Page 180: Chapter 5 analog modules

Advertising
background image

SMART I/O User’s Manual

March 12, 1996

©1996 PEP Modular Computers GmbH

Page 5 - 24

Chapter 5 Analog Modules

5.1.8.9 SMDAD1ClrLed

Syntax

error_code SMDAD1ClrLed(u_int8 PortNr, u_int8 LedNr);

Description

This function switches off one of the two LEDs fitted to the SM-DAD1.

Input

u_int8 PortNr

SM-Port number to be accessed

u_int8 LedNr

Number of the LED to switch off (1-2)

Output

error_code

SUCCESS

E_SEEK

if module was not initialized

E-BMODE

if the module is unknown

or standard OS-9 error code (refer to the OS-9

Technical Manual Error Codes Section).

Example

RetVal = SMDAD1ClrLed(0, 2);

Advertising
This manual is related to the following products: