By seeing the .pbc extension, I'm I right by saying you have PBC not PBP?
If so... well.. both are WAY different... PBC don't allow direct addressing to a byte/register bit, and so forth for many other command as well.
Who have PBC here?
By seeing the .pbc extension, I'm I right by saying you have PBC not PBP?
If so... well.. both are WAY different... PBC don't allow direct addressing to a byte/register bit, and so forth for many other command as well.
Who have PBC here?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
try this
Finger crossed, I don't have PBCCode:SYMBOL PORTB=$06 symbol TRISB=$86 POKE TRISB,1 ' PORTB.0 = input, other = output POKE PORTB,0 ' Clear all output main: PEEK PORTB,B0 if BIT0 =1 then goto loop 'enter loop 'forward high 7 'enable pin high 6 low 5 high 4 low 3 high 2 'enable pin goto main loop: PEEK PORTB,B0 if BIT0=0 then GOTO main 'exit the loop 'backup high 7 'enable pin low 6 'stop this side low 5 low 4 'reverse this side high 3 high 2 'enable pin goto loop
Last edited by mister_e; - 30th January 2009 at 01:11.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
What is the difference of PBC?
How can I get what you have?
Hi,
here's comparision between PBC (PicBasic) and PBP (picBasic Pro)
http://melabs.com/products/comp_pro.htm
Depending where you're living, you can purchase it from the following one
http://melabs.com/purchase.htm#Distributors
You can also download a limited demo version of PBP.
http://melabs.com/pbpdemo.htm
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks