Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 68

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 67
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 2 - 28
Chapter 2 SMART-BASE
2.6.10 SMLed
Syntax
error_code SMLed(u_int8 led, u_int8 value);
Description
This function switches on / off user LED’s.
Input
u_int8 led
Two options are available. They are:
USERL1
Yellow LED on piggyback
USERL2
Red LED on piggyback (only
if the LED is not jumpered as 68302 HALT.
u_int8 value
Indicates the status of the LED.
0 Switch LED off
Not 0 Switch LED on
Output
error_code SUCCESS
E_BMODE
LED does not exist
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMLed(USERL1, 0);
Seitenansicht 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare