array and port


Closed Thread
Results 1 to 2 of 2

Thread: array and port

  1. #1
    Join Date
    Dec 2005
    Posts
    7

    Angry array and port

    Help me,
    a want write a code with pbp for the read OF the port0 TO 3 with array
    example:
    for emp[0] = 0 to 3
    if portd.emp[0] = 1 then....
    next emp[0]
    but i have error BAD VARIABLE
    help ME THANK YOU

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Bruce has the answer ...

    Indexing Port Pins
    http://www.picbasic.co.uk/forum/showthread.php?t=3753
    <br>
    DT

Similar Threads

  1. Why (or how to) make a port array for OW
    By Roy___ in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 23rd February 2009, 00:30
  2. Filling pdu array with gps data!
    By camolas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th October 2008, 01:54
  3. Using LPT port dot matrix printer with PIC
    By sougata in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th January 2007, 12:48
  4. Working with indivividual bytes of an array
    By J_norrie in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd January 2007, 20:16
  5. Custom array of ports using array?
    By blainecf in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 18th June 2006, 02:43

Members who have read this thread : 1

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