MikroElektronika PIC Microcontrollers PIC16 Datenblatt Seite 49

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 194
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 48
Programming PIC Microcontrollers in BASIC - mikroElektronika
Example
Higher(Aaaa) ' returns byte next to the highest byte of variable Aaaa
5.1.7 Highest – Extract one byte from the specified parameter
Prototype
sub function Highest(dim arg as longint) as byte
Description Returns byte 3 of <Par>, assuming that longint comprises bytes 3, 2, 1, and 0.
Example
Highest(Aaaa) ' returns the highest byte of variable Aaaa
5.1.8 Delay_us – Software delay in us
Prototype
sub procedure Delay_us(const Count as word)
Description Routine creates a software delay in duration of <Count> microseconds.
Example
Delay_us(100) ' creates software delay equal to 1s
5.1.9 Delay_ms – Software delay in ms
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (7 sur 112)05/11/2004 02:20:52
Seitenansicht 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 193 194

Kommentare zu diesen Handbüchern

Keine Kommentare