Remote-processing RPC-2350 Bedienungsanleitung Seite 42

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 83
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 41
CHAPTER 7 CALENDAR/CLOCK
7-9
Figure 7-1 RTC interrupt jumper W10
Use the following table to set clock interrupt periods.
“Value” is written to I/O port &14E.
Interrupt interval Value
1 second 6
1 minute 10
1 hour 14
Write these values to address &14E to set the interrupt
period.
OUT &14E,10 :’Set interrupt period to
1 minute
Write a 0 to addr ess &14D to clear any interrupts
before executing ON ITR 0 and while in the interrupt
subroutine.
OUT &14D,0 :’Clear interrupt
COMMANDS
The following is a list of CAMBASIC commands for the
calendar/clock.
Command Function
CONFIG CLOCK Turns clock on or off
DATE$ Sets date
DATE$(0) Returns date
TIME$ Sets time
TIME$(0) Returns time
ON ITR 0 Responds to interrupt
Seitenansicht 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 82 83

Kommentare zu diesen Handbüchern

Keine Kommentare