Remote Processing Coorporation RPC-320 Dokumentacja Strona 174

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 173
Event Multitasking - 5
Line 10 configures counter 5 to read bit 1 of address 0 as an input. When the count reaches 2000,
the counter will automatically reset.
Line 20 directs CAMBASIC to branch to a subroutine when the preset count is reached.
Line 30 starts counter operation. These three lines do not need to be adjacent in the program.
However, they must be executed in this order.
Line 200 increments variable A. Thus, the value of A is the number of times the counter has counted
to 2000.
Line 210 returns program execution to the place that it was interrupted.
It is imperative that the counter numbers in CONFIG COUNT and START count match. Otherwise, operation will be
unpredictable.
Przeglądanie stron 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag