Argox PA-20 Programming Guide Bedienungsanleitung Seite 72

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 130
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 71
PT-20 Programming Guide
70
Includes
#include “SDK.h ”
Description
You can check the FN-Key function that is default setting or
custom setting.
smKeyNum: 0 F1, 1 F2, 2 F3, 3 F4, 4 F5, 5 F6
Returns
1 : Custom Setting
0 : Default Setting
-1: Error
FNKey_SetUserDef
Purpose
To set a custom setting for FN-Key.
Syntax
char FNKey_SetUserDef(short smKeyNum, void (*pslFunction)(void));
Example call
void Sample01FN(void)
{
_printf(“This is Test!!”);
}
void SetFNKey(void)
{
if (FNKey_SetUserDef(0, Sample01FN))
{
_printf(“Set F1 UserDefine OK!”);
}
if (FNKey_SetUserDef(0, NULL))
{
_printf(“Set F1 Default OK!”);
}
}
Includes
#include “SDK.h ”
Description
The function is used to set the FN-Key. After set successed, the
FN-Key is changed for custom setting function. You can set F1~6, if you
want to set default, please set pslFunction = NULL.
smKeyNum: 0 F1, 1 F2, 2 F3, 3 F4, 4 F5, 5 F6
Returns
1 : Set success
0 : Set false
SetScanKeyPwOn
Purpose
To set power on by scan key.
Syntax
BOOL SetScanKeyPwOn(BOOL state);
Example call
SetScanKeyPwOn(TRUE);
Includes
#include “SDK.h ”
Description
This function can set power on by scan key.
Seitenansicht 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 129 130

Kommentare zu diesen Handbüchern

Keine Kommentare