Pepper-computer Modular Computers RS485 Instrukcja Użytkownika Strona 254

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 320
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 253
SMART I/O User’s Manual
October 01, 1996
©1996 PEP Modular Computers GmbH
Page 5 - 98
Chapter 5 Analog Modules
5.4.8.5 SMADC1SetLed
Syntax
error_code SMADC1SetLed(u_int8 PortNr, u_int8 LedNr);
Description
This function switches on 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 on (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 = SMADC1SetLed(0, 2);
Przeglądanie stron 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 319 320

Komentarze do niniejszej Instrukcji

Brak uwag