Remote-processing RPC-330 Uživatelský manuál Strana 42

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 48
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 48

Komentáře k této Příručce

Žádné komentáře