Casio IT-2000D Bedienungsanleitung Seite 115

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 224
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 114
115
7.4.1 Creation of Execution File
Application developers should develop programs using MS-DOS, IBM PC/AT BIOS and various
application development libraries. The following sample program is used to turn on and off the
backlight. With this program the backlight will be turned on or off if either "1" or "0", respectively,
is entered through the numeric keypad. This program can be terminated by the input of the ESC key.
#include <stdio.h>
#include "syslib.h"
void main()
{
char ch;
for (; ;) {
switch (ch = getch()) {
case '0':
case '1':
SYS_SetBackLight(ch-'0'); /* System Library function */
break;
case 0x1B:
exit(0);
default:
break;
}
}
} <Test.c>
Seitenansicht 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 223 224

Kommentare zu diesen Handbüchern

Keine Kommentare