Pepper-computer Modular Computers RS485 Uživatelský manuál Strana 255

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 320
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 254
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHOctober 01, 1996 Page 5 - 99
5
Chapter 5 Analog Modules
5.4.8.6 SMADC1ClrLed
Syntax
error_code SMADC1ClrLed(u_int8 PortNr, u_int8 LedNr);
Description
This function switches off one of the two LEDs fitted to the SM-ADC1.
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 initialised
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 = SMADC1ClrLed(0, 2);
Zobrazit stránku 254
1 2 ... 250 251 252 253 254 255 256 257 258 259 260 ... 319 320

Komentáře k této Příručce

Žádné komentáře