Write Onewire data toa I2C memory / read ASCI


Closed Thread
Results 1 to 40 of 68

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    If you read the PBP manual, you'll find commands in the LCD, I2Cxxxx, SERIN/SEROUT, HSERIN/HSEROUT, and various other sections that will show you have these various commands handle digits, decimals (which PBP does NOT natively handle), numeric characters, ASCII values, etc.etc.etc. DEC DIG HEX BIN, and all sorts of other good information in there...
    I know this , and I have used for LCD display , for serin/serout and work , but now I do not know how can use this commands for I2CXXXX. When I use one of this do not accept by MicroCode Studio .

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Eugeniu View Post
    I know this , and I have used for LCD display , for serin/serout and work , but now I do not know how can use this commands for I2CXXXX. When I use one of this do not accept by MicroCode Studio .
    You don't have to store them in eeprom in anyway out of the ordinary. If you can display it using those modifiers, then store the data as the raw data. Then recover it as raw data and display it using those modifiers again. You don't have to do anything special to store it.

  3. #3
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    You don't have to store them in eeprom in anyway out of the ordinary. If you can display it using those modifiers, then store the data as the raw data. Then recover it as raw data and display it using those modifiers again. You don't have to do anything special to store it.
    Can you give me a in context example ? Please !

    Thank you !

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Eugeniu View Post
    Can you give me a in context example ? Please !
    Just exactly what you had...
    i2cwrite I2CDAT, I2CCLK, $A0, adr,[Byte_integer,Byte_decimal]
    Then read them back the same way and display them on the LCD seperately with a decimal point in between them.

  5. #5
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Just exactly what you had...
    i2cwrite I2CDAT, I2CCLK, $A0, adr,[Byte_integer,Byte_decimal]
    Then read them back the same way and display them on the LCD seperately with a decimal point in between them.
    I do not use LCD , I use a 7 X 96 leds panel . With LCD is very simple ! Support all of these "DEC DIG HEX BIN,"
    Last edited by Eugeniu; - 15th October 2008 at 19:12.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Eugeniu View Post
    I do not use LCD , I use a 7 X 96 leds panel . With LCD is very simple ! Support all of these "DEC DIG HEX BIN,"
    Ahhh....ok....I see now...
    Well then...your answer is in post #2...

  7. #7
    Join Date
    Nov 2007
    Posts
    60


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Ahhh....ok....I see now...
    Well then...your answer is in post #2...
    I am sorry ! but I do not see in mind the solution for my problem .
    I say again : PLEASE ! SHOW ME IN CONTEXT EXAMPLE , in my programme.

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