Chapter 5 Analog Modules

SMART I/O User’s Manual

 

 

 

 

 

 

 

 

 

 

5.5.8.9 SMDAC1ClrLed

Syntax

error_code SMDAC1ClrLed(u_int8 PortNr, u_int8 LedNr);

Description

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

Input

u_int8 PortNr u_int8 LedNr

Output

error_code

Example

SM-Port number to be accessed Number of the LED to switch off (1-2)

SUCCESS

if module was not initialized

E_SEEK

E-BMODE

if the module is unknown

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

5

RetVal = SMDAC1ClrLed(0, 2);

 

 

 

 

October 01, 1996

©1996 PEP Modular Computers GmbH

Page 5 - 121

 

 

Page 277
Image 277
Pepper Computer RS232, RS485 user manual SMDAC1ClrLed Syntax