I2C problem (16F877A with DS1844)


Results 1 to 12 of 12

Threaded View

  1. #7
    Join Date
    Jun 2007
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Is this the first time you've tried using this particular IC?
    I've said it before, I'll say it again, start simple, work your way up...
    How do you really know that the value is supposed to change? How do you really know that your interrupts are being handled the way you want them to be handled?

    Replace the I2CWRITE commands with writes to the LCD, make sure you're logic is working, don't worry about what the chip does, just watch your numbers, see what they do first. Rewrite your program to write various values to the chip and the LCD and make sure the chip follows what you really want to do. Then integrate everything together. For all you know, there's something fundamentally wrong with the way you wrote the program.
    Yes, it is the first time with this IC.

    The hardware is ready , everything function functionate , excepting the I2C.
    The LCD writes the right value, the interrupt also well functionate.

    The trouble is that between the potentiometer outputs not mensurable the tuned worth. When there is off , here mensurable the 100k, run during wrongly the value.

    excuse for my english
    thanks
    Attached Images Attached Images   

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  3. Another I2C Slave Routine Problem
    By DanPBP in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th February 2009, 05:50
  4. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  5. Problem with I2C (24c32 eeprom)
    By lab310 in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 5th February 2008, 09:00

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