PDA

View Full Version : help pic basic pro



f6ggy
- 28th September 2003, 21:49
use let pic basic 7.10 and for example

define PORTB, 0000000
dim a
for a =0 to 255
OUTB(a)
next a

use now picbasic pro 2.43
and i can't write thios example

TRISB
a VAR BIT
for a =0 to 255
-----------------------what is a syntaxe for OUTB(A) in pro basic
next a

thank for help

Melanie
- 29th September 2003, 00:37
A var byte
TRISB=%00000000

For A=0 to 255
PORTB=A
Next A

f6ggy
- 29th September 2003, 01:55
thank you melanie