MikroElektronika PIC Microcontrollers PIC16 Uživatelský manuál Strana 99

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 172
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 98
Here is a simple example of a for loop used for emitting hex code on PORTB for
7-segment display with common cathode. Nine digits will be printed with one sec-
ond delay, by incrementing the counter.
for i = 1 to 9
portb = i
delay_ms(1000)
next i
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
94
mikroBASIC
MikroElektronika: Development tools - Books - Compilers
making it simple...
page
Example
Zobrazit stránku 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 171 172

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

Žádné komentáře