Jump to content

Kota Uchida

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Kota Uchida

  1. I'm trying to send I2C signals from Analog Discovery 2 to an I2C device.

    I read an article I2C Protocol Viewer and the example worked. Next I modified the example code to fit my need. I found 'Write' function can't handle data more than 113 bytes.

    Here the code that doesn't work:

    DATA = []
    for (i = 0; i < 113; i++) {
        DATA[i] = i
    }
    Write(1, DATA)

     

    If I change 113 to 112, it works.

    I want to read the specification of the Write function. In addition to that, I want to know other functions or APIs that can be used in this script in order to develop more complicated scripts.

×
×
  • Create New...