PDA

View Full Version : Speed comparison: PBP vs. BS2



achilles03
- 1st July 2005, 15:11
Does anyone know the speed differences between a PIC programmed with PBP (and using, say, a 20MHz osc) and the BS2? I did a forum search and didn't see any posts that address this directly. I was just wondering if anyone had a more specific answer than "a lot".

Thanks in advance!
Dave

Luciano
- 1st July 2005, 17:21
Hi,

BASIC Stamp timing:
http://www.emesystems.com/BS2speed.htm

PicBasic Pro timing:
You can run your PBP program in the MPLAB simulator and use the StopWatch function to get the timing of the commands.
(Menu Debugger\Stopwatch).

* * * *

From the PicBasic Pro manual:

Without the overhead of reading instructions from the serial EEPROM, many PBP instructions (such as GOTO and GOSUB) execute hundreds of times faster than their BASIC Stamp equivalents.

* * * *

Luciano