MikroElektronika PIC Microcontrollers PIC16 Manual de usuario Pagina 99

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 172
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 171 172

Comentarios a estos manuales

Sin comentarios