Custom array of pins


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    thanks for the reply that was exactly what i was looking for. I am basing my code off of this post http://www.picbasic.co.uk/forum/show...2&postcount=11. thanks again

  2. #2
    Join Date
    Mar 2009
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    Would you happen to know how the offset works as mentioned in the previous post? I ran in to some problems with that block of code and think it has to do with finding and setting the offsets of the pins. I am working with a pic18f24k20 if that makes a difference.

  3. #3
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    I am not familiar with the pic18f24k20 nor does my version of PBP support it.

    Perhaps someone else knows the order of the ports for this PIC. I could not readily put my hands on the datasheet - it would not download from microchip for me?
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bmagistro View Post
    Would you happen to know how the offset works as mentioned in the previous post?
    Bruce's thread might help with that.
    Indexing Port Pins
    http://www.picbasic.co.uk/forum/showthread.php?t=3753

    Depending on what you're doing, you might have better luck with post #14 in the thread Paul mentioned.
    http://www.picbasic.co.uk/forum/show...2039#post22039
    DT

  5. #5
    Join Date
    Mar 2009
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    thanks guys for all your help. i found my problem(s), simple counting error and typo in the code.

Similar Threads

  1. Simple Array Demo
    By Archangel in forum Code Examples
    Replies: 5
    Last Post: - 15th February 2010, 04:46
  2. Array of pins
    By The Master in forum General
    Replies: 6
    Last Post: - 2nd December 2007, 00:21
  3. LCDOUT with custom PINS
    By Josuetas in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 4th September 2007, 01:13
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  5. Custom array of ports using array?
    By blainecf in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 18th June 2006, 01:43

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