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

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

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

Žádné komentáře