Pepper-computer Modular Computers RS485 Manuale Utente Pagina 276

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 320
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 275
SMART I/O User’s Manual
October 01, 1996
©1996 PEP Modular Computers GmbH
Page 5 - 120
Chapter 5 Analog Modules
5.5.8.8 SMDAC1SetLed
Syntax
error_code SMDAC1SetLed(u_int8 PortNr, u_int8 LedNr);
Description
This function switches on one of the two LEDs fitted to the SM-DAC1.
Input
u_int8 PortNr
SM-Port number to be accessed
u_int8 LedNr
Number of the LED to switch on (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 = SMDAC1SetLed(0, 2);
Vedere la pagina 275
1 2 ... 271 272 273 274 275 276 277 278 279 280 281 ... 319 320

Commenti su questo manuale

Nessun commento