Create a label which point to an instruction


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Create a label which point to an instruction

    You can create aliases to port.pins like this...

    H9 var PORTB.0

    Then you can do this...

    MAIN:
    HIGH H9: PAUSE 100: LOW H9: PAUSE 100
    GOTO MAIN

    This is detailed in the PBP manual, section 4

    I am not aware of a way to do a macro that will execute several commands... someone else may know a way.
    Last edited by Heckler; - 2nd October 2012 at 15:45.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

Similar Threads

  1. Replies: 5
    Last Post: - 12th September 2011, 08:51
  2. I wish to create an article for the WIKI
    By Normnet in forum Forum Requests
    Replies: 2
    Last Post: - 5th January 2011, 04:12
  3. How do you create a lookup table?
    By AlexanderWinnig in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th November 2010, 14:37
  4. pic16f88, xbee's & point-2-point comms
    By rdxbam in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd February 2009, 08:43
  5. How to create multidimensional Array
    By jiunn82 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th February 2007, 18:23

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