Write Onewire data toa I2C memory / read ASCI


Results 1 to 40 of 68

Threaded View

  1. #28
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Dear MEN !

    I do not use a LCD display . I have make only a comparision .

    I use in front of my program this line to write text "

    I2Cwrite I2CDAT, I2CCLK, $A0, adr,[" Temperature is _________________ "]

    late in program , in free space I wish to write DATA of temperature

    adr = 15( where is free space )
    I2Cread I2CDAT, I2CCLK, $A0, adr,[ temperature DATA ]

    In finish, I wish to can read all - text and temperature DATA as ASCI CODE such as

    Temperatura is 25,55(for example) .

    from this formula :

    i2cread I2CDAT , I2CCLK , $A0,J,[caracter]

    program read for every adrress (j) a sign (caracter ) in ASCI Code , and this CODE i'll translate in leds on .But where I write temperature DATA , program read other signs not ASCI CODE for 25,55 ( for example )

    Now understand me ?

    I 'll try to write only text with quote and temperature DATA except quote
    Last edited by Eugeniu; - 17th October 2008 at 08:40.

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 : 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