Remote-processing RPC-330 Instrukcja Użytkownika Strona 42

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 48
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 41
EXTERNAL INTERRUPT SECTION 12
Page 12-2 RPC-330
Figure 12-1 Optically isolated and TTL interrup ts
PROGRAM EXAMPLE
The following program enables interrupts and goes to a
routine to service it. Jumper H2[5-6]. Bringing P2-INT
to ground causes an inter rupt.
10 ONITR 0, 500
30 GOTO 30
500 PRINT "Got Interrupt"
510 RETI
Line 510 is necessary to re-enable interrupts. If this line
is not executed, but a RETURN is used, then the next
interrupt is disabled.
Przeglądanie stron 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 48

Komentarze do niniejszej Instrukcji

Brak uwag