MikroElektronika PIC Microcontrollers PIC16 Arkusz Danych Strona 50

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 49
Programming PIC Microcontrollers in BASIC - mikroElektronika
Prototype
sub procedure Delay_ms(const Count as word)
Description Routine creates a software delay in duration of <Count> milliseconds.
Example
Delay_ms(1000) ' creates software delay equal to 1s
5.1.10 Inc – Increases variable by 1
Prototype
sub procedure Inc(byref Par as byte..longint)
Description Routine increases <Par> by one.
Example
Inc(Aaaa) ' increments variable Aaaa by 1
5.1.11 Dec – Decreases variable by 1
Prototype
sub procedure Dec(byref Par as byte..longint)
Description Routine decreases <Par> by one.
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (8 sur 112)05/11/2004 02:20:52
Przeglądanie stron 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 193 194

Komentarze do niniejszej Instrukcji

Brak uwag