Re: pic controller doesn't work properly
Code seems ok, but you don't need to redefine PORTB & TRISB... this is what the INCLUDE line does for you.
You want to check MCLR pin, must be tied to Vdd.
ALL VDD, ALL VSS pins MUST be connected.
Check your crystal connection... and your capacitors around the crystal.
Last thing, this is a Melabs PICBASIC forum here... with some tolerence & expertise for assembler
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks