MikroElektronika PIC Microcontrollers PIC16 Bedienungsanleitung Seite 99

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 172
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 171 172

Kommentare zu diesen Handbüchern

Keine Kommentare