Remote-processing RPC-330 Manuale Utente Pagina 42

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 48
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 48

Commenti su questo manuale

Nessun commento