Skip to content

I2C communication  #4

@ghost

Description

Hello,

I'm trying to write 0x52 adress to 0x02 value but i cant figure out data type

Actually i tried :

i2c = CyI2C(dev)
i2c.debug=1

cfg = i2c.prepare(slaveAddress=0x1b, isStopBit=1, isNakBit=1)
data=????
i2c.write(cfg, data)

what data type must be ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions