Shift starting position for ARRAYWRITE?


Results 1 to 8 of 8

Threaded View

  1. #4
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Shift starting position for ARRAYWRITE?

    If you know the offset is 20, give that byte a name as Ioannis suggested. This will act as a place marker for your start point. You can also use a variable start point:
    Code:
    CondVar = inputVal
    TXREG = all_data[20+CondVar]
    Last edited by mpgmike; - 11th August 2022 at 16:41.

Similar Threads

  1. bit position variable
    By dsicon in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th December 2012, 21:41
  2. Question about ARRAYWRITE
    By circuitpro in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th July 2010, 21:00
  3. Changing position of program code
    By aerostar in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 15th December 2006, 07:34
  4. how to know servo position on lcd?
    By macx75 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd March 2006, 22:52
  5. Read cursors position on LCD?
    By lab310 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th April 2005, 13:20

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