Parallel processing question


Closed Thread
Results 1 to 2 of 2
  1. #1

    Question Parallel processing question

    I was looking at PICAXE which is no different than a Basic Stamp...since it uses a bootstrap and basic language. They claim parallel processing....is this an interrupt based processing? It says in the data sheet that it does not get hung up on pause statements if you define for example 2 routines to run in parallel.

    If that is the case anyone done anything similar on PicBasic pro?

    Nick

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: Parallel processing question

    There are a number of ways to do what you describe with PBP. The best way is to use interrupts, but a simple, often "good enough" method is to use one of the hardware timers. Then you can replace the PAUSE statement with a routine that first clears the timer, and then occasionally checks for the timer to be above a given value.
    Charles Linquist

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