MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 140

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 139
Chapter 6 - Samples
Macro LCDval_16 converts 16-bit binary number into decimal number from 0 to 65535 and
displays it on LCD display. The following variables need to be declared in the main program:
TEMP1, TEMP2, TEMP3, LO, HI, LO_TEMP, HI_TEMP, Bcheck. A 16-bit binary number is found in
variables LO and HI. When a macro was executed, a decimal equivalent of this number would be
displayed on LCD display. The leading zeros before the number would not be displayed.
http://www.mikroelektronika.co.yu/english/product/books/PICbook/6_10Poglavlje.htm (8 of 11) [4/2/2003 16:19:08]
Zobrazit stránku 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 185 186

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

Žádné komentáře