User`s manual

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