i2cRead i2cwrite very frustrating


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    13


    Did you find this post helpful? Yes | No

    Default Re: i2cRead i2cwrite very frustrating

    I found it...
    I was missing...

    ANSELC.3 = 0
    ANSELC.4 = 0

    I had moved to port D during my testing, so actually mine was
    ANSELD.0 = 0
    ANSELD.1 = 0

    Why doesn't I2CWRITE and I2CREAD auto set these like it does for SERIN and SEROUT??? Or At least mention that it needs done in the manual. 7 hours of my life I'll never get back. (I'll also never forget ANSEL needs set on a I2C!!)

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: i2cRead i2cwrite very frustrating

    Bradb, Good to hear you got it working. I didn't see the port config bit's in your code snipit so I assumed you had everything set correctly.
    Dave Purola,
    N8NTA
    EN82fn

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