Speed comparison: PBP vs. BS2


Closed Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    achilles03's Avatar
    achilles03 Guest

    Default Speed comparison: PBP vs. BS2

    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

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    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

Similar Threads

  1. High Resolution Timer & Speed Calculator
    By WOZZY-2010 in forum Code Examples
    Replies: 4
    Last Post: - 7th February 2010, 16:45
  2. Anyone do a comparison of the ASM code generated by PBP??
    By Frozen001 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th November 2008, 20:01
  3. Closed loop speed controller
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 26th January 2008, 14:15
  4. NEWB Help HPWM coding
    By Seafurymike in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st January 2008, 21:52
  5. Replies: 14
    Last Post: - 26th September 2007, 05:41

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts