Help with 24C01C and LCD


Closed Thread
Results 1 to 3 of 3

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    first observation
    Code:
    i2cwrite sda, scl, control, address, "A", "n", "d", "y"
    should be
    Code:
    i2cwrite sda, scl, control, address, ["A", "n", "d", "y"]
    but i've never tried to use that way of writing ASCII character. I feel you must place them in an array before and then shoot the array

    something like
    Code:
    MyArray var byte[4]
    MyArray[0]="A"
    MyArray[1]="n"
    MyArray[2]="d"
    MyArray[3]="y"
    
    i2cwrite sda, scl, control, address, [str MyArray\4]
    Use Bracket for I2Cread too... it's in the manual
    Steve

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

  2. #2
    andyfive's Avatar
    andyfive Guest


    Did you find this post helpful? Yes | No

    Post Thanks!

    Wow...Thanks. That fixed it! lol I think I should go through the manual a few more times...

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