Whats wrong with this I2C code???? HELP?


Results 1 to 8 of 8

Threaded View

  1. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    You have a hardware problem... OR you don't have pull-resistor as shown in the PBP manual and in the datasheet, OR your PIC is defect, OR you have some short circuit somewhere.

    EEprom with Pull up
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=968&stc=1&d=1152732703 ">

    EEPROM no pull-up
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=967&stc=1&d=1152732703 ">

    NoEEPROM With pul-ups
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=969&stc=1&d=1152732703 ">
    Attached Images Attached Images     
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. PIC18F4620 , what's wrong with my A/D converter code
    By Porcusoru in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd July 2009, 20:35
  2. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  3. PIC16F877 I2C programme
    By cooqo in forum mel PIC BASIC
    Replies: 3
    Last Post: - 21st April 2008, 10:02
  4. Code for I2C Slave
    By Balachandar in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st November 2006, 19:14
  5. Anyone have ADS1100 I2C PicBasic Pro code example
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th March 2006, 22:13

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