I2CWRITE problem


Results 1 to 36 of 36

Threaded View

  1. #22
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by Paul View Post
    Hi Dave,

    That is correct, the 1st element in the array, DATA[0], the second element DATA[1], the 32nd DATA[31].

    The STR command counts the elements in an array, [ STR DATA\1] would send element DATA[0]. PBPro knows if I am using WORDS or BYTES and counts them appropriately.

    In this section of the PBPro manual, it clearly states that WORD variable arrays can be sent.

    Paul.
    Hi Paul,

    Check from manual about Arrays

    It is two different things:
    - Number of elements (array; 1,2,3,... )
    - Location of element (string; 0,1,2,... )

    BR,
    -Gusse-
    Last edited by Gusse; - 26th January 2010 at 13:41.

Similar Threads

  1. My I2CWRITE - timings and tricks
    By FinchPJ in forum Code Examples
    Replies: 5
    Last Post: - 3rd March 2008, 21:40
  2. Problem with I2Cread and I2CWRITE function
    By Tony85 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th June 2006, 20:03
  3. Problem with I2Cread and I2CWRITE function
    By Tony85 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th June 2006, 18:32
  4. Another I2CWRITE problem
    By ErnieM in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 20th May 2006, 21:57
  5. I2CRead / I2CWrite Problem?
    By koossa in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st October 2005, 18:26

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