HI2CREAD for 18Fs


Results 1 to 10 of 10

Threaded View

  1. #5
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Talking

    Hello,

    find attached my code (2 years old and not the best!).
    I have removed the maincode.
    I2C reads in bytes and fills up a buffer I2C_In.
    The maincode generates data in a second buffer I2C_Out.

    The incoming bytes are only single bytes, I don't know if the routine will manage more than 1 data in a message.

    Just read the code and try to understand the statemachine of the I2C-hardware.
    Attached Files Attached Files
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

Similar Threads

  1. HI2CREAD and HI2CWRITE
    By garryp4 in forum PBP Wish List
    Replies: 17
    Last Post: - 24th October 2008, 11:46

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