Are you running PicBasic Pro or BicBasic Compiler?
Are you running PicBasic Pro or BicBasic Compiler?
Paul Borgmeier
Salt Lake City, UT
USA
__________________
ADD
to the top of the examples posted by Jerson and me.Code:TRISB=0 ' make all of PORTB = OUTPUTS
HIGH AND LOW make the pins an output for you - setting them with PORTB = 1 (for example), you have to make them outputs first since they default to inputs on power up.
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Thanks bro,
For the help and a quick reply..
This was a great forum to learn Pic with the user here.
Greetings from Singapore.
Happy Easter!!!
You are welcome -Code:Thanks bro,
By the way who is bro? I hope and trust it is not me
http://www.urbandictionary.com/define.php?term=bro
Welcome to this forum
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks