Skip to content

reading and writing in the same script #5

@xpeedster

Description

@xpeedster

I am having trouble using "i2c_ioctl_write" and "i2c_ioctl_read" in the same script.

If I use only one of them, does not matter which one, it was great. It reads when I aske it to do so, and it writes when I want it to do.

However, if I try to write and read (both in the same script), it does not work as it has to do. I have tried opening a bus, writing and closing it and afterwards opening the bus again to read the data, but it does not work either.

Can it be an interference of the read command over the write one? Or the other way around?

Thanks for the help.

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