BS2Sx commands faulty for PBP 2.40/2.46 ?
Good evening to the Community.
Developing lately with Picaxe in Basic, I'm back to my old love (BS2sx compiled to PIC16F84A / 16F628A).
However, it seems to me that the following loop commands are not recognised by PBP2.40/2.46.
Can you confirm this?
DO ... LOOP
DO { WHILE | UNTIL Condition(s) }
Statement(s)
LOOP { WHILE | UNTIL Condition(s) }
Yes, You can replace a simple DO...LOOP loop with a "Loop:" start tag and end the loop with a "goto Loop".
Although I'm allergic to "Goto" but hey ...
It seems to be a must here.
On the other hand, to replace the Do While/Until and Loop While/Until, it seems to me a little more complicated!
Do you have a solution ?
Thanks already.
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
You have access to a Product -- PBP3. This Product has a very comprehensive user guide -- PBP3 Reference Manual. In this Manual, 5.17 (page 136 in my copy) spells out "DO" usage. To help, here are a couple examples:
Code:
DO
some code
LOOP
DO
some code
LOOP UNTIL PORTA.4 = 1
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
DO LOOP was added in version 2.60, together with ARRAYREAD, ARRAYWRITE, ELSEIF, EXIT, ON GOSUB and ON GOTO back in 2009.
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
Hello everyone,
I suspect that the latest version (PBP3) is more complete and includes looping commands.
But buying this product at 270$ just for a small hobby is a bit out of my price range ;)
So, where can I still find a 2.60 version?
Thank you.
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
Hi,
And What are the conditions and formalities for obtaining a Non-Commercial Student PBP v.3?
Thanks.
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
Here is the link to the ME Labs PBP3 page. From there you can find the answers:
http://pbp3.com
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
For specific PIC chips it is free of charge.
For 2.4/2.6 upgrade to 3.1 it is $100 (you need proof of purchase).
Ioannis
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
Thank you. I'll try the Student pack first.
The PICs offered are limited but nevertheless interesting.
Is there also a limit to the length of the code?
Re: BS2Sx commands faulty for PBP 2.40/2.46 ?
AFAIK no, there is not. On Melabs site there is no reference on that either.
Ioannis