Write Onewire data toa I2C memory / read ASCI


Results 1 to 40 of 68

Threaded View

  1. #1
    Join Date
    Nov 2007
    Posts
    60

    Default Write Onewire data toa I2C memory / read ASCI

    Hi !

    I have a display with leds . If I write a text to a I2C memory (24FC512),I can read and scroll this text on leds display . But...I wish to write the result of measurement from ONEWIRE sensor DS1820 for example :

    " temperature = (((temperature >> 1) * 100) - 25) + (((count_per_c - count_remain) * 100) / count_per_c) "


    and to read / display ASCI karacter , something like this :

    "i2cread I2CDAT , I2CCLK , $A0,adrr,[karacter]" karacter to be ASCI code

    I can not know to do this . Can somebody to help me ?

    Thank you very much !
    PS. Escuse me ! I do not know so well english .
    Last edited by Eugeniu; - 14th October 2008 at 22:36.

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. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 07:14
  3. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  4. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 00:22
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

Members who have read this thread : 1

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